diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/__init__.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..700cf6f68b829e8a95bc6a178c325a2954d38cf9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/__init__.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/api_client.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/api_client.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f657a940719ab3c4bbecd325791ea6dd61632983 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/api_client.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4f28d53c63ed8c71c9de0882d4d0e210f0c13b78 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/exceptions.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/exceptions.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a798ae02e35c9b858d00f9e09b2ac460b9a197ad Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/exceptions.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/rest.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/rest.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..48989995507a2f2593061035fad96b81645bb8a9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/__pycache__/rest.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__init__.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e39158b6a3b37ccb7b5f032686107ac83bad50e1 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__init__.py @@ -0,0 +1,737 @@ +# coding: utf-8 + +# flake8: noqa +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +# import models into model package +from kubernetes.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference +from kubernetes.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig +from kubernetes.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference +from kubernetes.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig +from kubernetes.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference +from kubernetes.client.models.authentication_v1_token_request import AuthenticationV1TokenRequest +from kubernetes.client.models.core_v1_endpoint_port import CoreV1EndpointPort +from kubernetes.client.models.core_v1_event import CoreV1Event +from kubernetes.client.models.core_v1_event_list import CoreV1EventList +from kubernetes.client.models.core_v1_event_series import CoreV1EventSeries +from kubernetes.client.models.core_v1_resource_claim import CoreV1ResourceClaim +from kubernetes.client.models.discovery_v1_endpoint_port import DiscoveryV1EndpointPort +from kubernetes.client.models.events_v1_event import EventsV1Event +from kubernetes.client.models.events_v1_event_list import EventsV1EventList +from kubernetes.client.models.events_v1_event_series import EventsV1EventSeries +from kubernetes.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject +from kubernetes.client.models.rbac_v1_subject import RbacV1Subject +from kubernetes.client.models.resource_v1_resource_claim import ResourceV1ResourceClaim +from kubernetes.client.models.storage_v1_token_request import StorageV1TokenRequest +from kubernetes.client.models.v1_api_group import V1APIGroup +from kubernetes.client.models.v1_api_group_list import V1APIGroupList +from kubernetes.client.models.v1_api_resource import V1APIResource +from kubernetes.client.models.v1_api_resource_list import V1APIResourceList +from kubernetes.client.models.v1_api_service import V1APIService +from kubernetes.client.models.v1_api_service_condition import V1APIServiceCondition +from kubernetes.client.models.v1_api_service_list import V1APIServiceList +from kubernetes.client.models.v1_api_service_spec import V1APIServiceSpec +from kubernetes.client.models.v1_api_service_status import V1APIServiceStatus +from kubernetes.client.models.v1_api_versions import V1APIVersions +from kubernetes.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource +from kubernetes.client.models.v1_affinity import V1Affinity +from kubernetes.client.models.v1_aggregation_rule import V1AggregationRule +from kubernetes.client.models.v1_allocated_device_status import V1AllocatedDeviceStatus +from kubernetes.client.models.v1_allocation_result import V1AllocationResult +from kubernetes.client.models.v1_app_armor_profile import V1AppArmorProfile +from kubernetes.client.models.v1_attached_volume import V1AttachedVolume +from kubernetes.client.models.v1_audit_annotation import V1AuditAnnotation +from kubernetes.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource +from kubernetes.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource +from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource +from kubernetes.client.models.v1_binding import V1Binding +from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference +from kubernetes.client.models.v1_cel_device_selector import V1CELDeviceSelector +from kubernetes.client.models.v1_csi_driver import V1CSIDriver +from kubernetes.client.models.v1_csi_driver_list import V1CSIDriverList +from kubernetes.client.models.v1_csi_driver_spec import V1CSIDriverSpec +from kubernetes.client.models.v1_csi_node import V1CSINode +from kubernetes.client.models.v1_csi_node_driver import V1CSINodeDriver +from kubernetes.client.models.v1_csi_node_list import V1CSINodeList +from kubernetes.client.models.v1_csi_node_spec import V1CSINodeSpec +from kubernetes.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource +from kubernetes.client.models.v1_csi_storage_capacity import V1CSIStorageCapacity +from kubernetes.client.models.v1_csi_storage_capacity_list import V1CSIStorageCapacityList +from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource +from kubernetes.client.models.v1_capabilities import V1Capabilities +from kubernetes.client.models.v1_capacity_request_policy import V1CapacityRequestPolicy +from kubernetes.client.models.v1_capacity_request_policy_range import V1CapacityRequestPolicyRange +from kubernetes.client.models.v1_capacity_requirements import V1CapacityRequirements +from kubernetes.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource +from kubernetes.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource +from kubernetes.client.models.v1_certificate_signing_request import V1CertificateSigningRequest +from kubernetes.client.models.v1_certificate_signing_request_condition import V1CertificateSigningRequestCondition +from kubernetes.client.models.v1_certificate_signing_request_list import V1CertificateSigningRequestList +from kubernetes.client.models.v1_certificate_signing_request_spec import V1CertificateSigningRequestSpec +from kubernetes.client.models.v1_certificate_signing_request_status import V1CertificateSigningRequestStatus +from kubernetes.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource +from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource +from kubernetes.client.models.v1_client_ip_config import V1ClientIPConfig +from kubernetes.client.models.v1_cluster_role import V1ClusterRole +from kubernetes.client.models.v1_cluster_role_binding import V1ClusterRoleBinding +from kubernetes.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList +from kubernetes.client.models.v1_cluster_role_list import V1ClusterRoleList +from kubernetes.client.models.v1_cluster_trust_bundle_projection import V1ClusterTrustBundleProjection +from kubernetes.client.models.v1_component_condition import V1ComponentCondition +from kubernetes.client.models.v1_component_status import V1ComponentStatus +from kubernetes.client.models.v1_component_status_list import V1ComponentStatusList +from kubernetes.client.models.v1_condition import V1Condition +from kubernetes.client.models.v1_config_map import V1ConfigMap +from kubernetes.client.models.v1_config_map_env_source import V1ConfigMapEnvSource +from kubernetes.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector +from kubernetes.client.models.v1_config_map_list import V1ConfigMapList +from kubernetes.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource +from kubernetes.client.models.v1_config_map_projection import V1ConfigMapProjection +from kubernetes.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource +from kubernetes.client.models.v1_container import V1Container +from kubernetes.client.models.v1_container_extended_resource_request import V1ContainerExtendedResourceRequest +from kubernetes.client.models.v1_container_image import V1ContainerImage +from kubernetes.client.models.v1_container_port import V1ContainerPort +from kubernetes.client.models.v1_container_resize_policy import V1ContainerResizePolicy +from kubernetes.client.models.v1_container_restart_rule import V1ContainerRestartRule +from kubernetes.client.models.v1_container_restart_rule_on_exit_codes import V1ContainerRestartRuleOnExitCodes +from kubernetes.client.models.v1_container_state import V1ContainerState +from kubernetes.client.models.v1_container_state_running import V1ContainerStateRunning +from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated +from kubernetes.client.models.v1_container_state_waiting import V1ContainerStateWaiting +from kubernetes.client.models.v1_container_status import V1ContainerStatus +from kubernetes.client.models.v1_container_user import V1ContainerUser +from kubernetes.client.models.v1_controller_revision import V1ControllerRevision +from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList +from kubernetes.client.models.v1_counter import V1Counter +from kubernetes.client.models.v1_counter_set import V1CounterSet +from kubernetes.client.models.v1_cron_job import V1CronJob +from kubernetes.client.models.v1_cron_job_list import V1CronJobList +from kubernetes.client.models.v1_cron_job_spec import V1CronJobSpec +from kubernetes.client.models.v1_cron_job_status import V1CronJobStatus +from kubernetes.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference +from kubernetes.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition +from kubernetes.client.models.v1_custom_resource_conversion import V1CustomResourceConversion +from kubernetes.client.models.v1_custom_resource_definition import V1CustomResourceDefinition +from kubernetes.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition +from kubernetes.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList +from kubernetes.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames +from kubernetes.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec +from kubernetes.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus +from kubernetes.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion +from kubernetes.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale +from kubernetes.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources +from kubernetes.client.models.v1_custom_resource_validation import V1CustomResourceValidation +from kubernetes.client.models.v1_daemon_endpoint import V1DaemonEndpoint +from kubernetes.client.models.v1_daemon_set import V1DaemonSet +from kubernetes.client.models.v1_daemon_set_condition import V1DaemonSetCondition +from kubernetes.client.models.v1_daemon_set_list import V1DaemonSetList +from kubernetes.client.models.v1_daemon_set_spec import V1DaemonSetSpec +from kubernetes.client.models.v1_daemon_set_status import V1DaemonSetStatus +from kubernetes.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy +from kubernetes.client.models.v1_delete_options import V1DeleteOptions +from kubernetes.client.models.v1_deployment import V1Deployment +from kubernetes.client.models.v1_deployment_condition import V1DeploymentCondition +from kubernetes.client.models.v1_deployment_list import V1DeploymentList +from kubernetes.client.models.v1_deployment_spec import V1DeploymentSpec +from kubernetes.client.models.v1_deployment_status import V1DeploymentStatus +from kubernetes.client.models.v1_deployment_strategy import V1DeploymentStrategy +from kubernetes.client.models.v1_device import V1Device +from kubernetes.client.models.v1_device_allocation_configuration import V1DeviceAllocationConfiguration +from kubernetes.client.models.v1_device_allocation_result import V1DeviceAllocationResult +from kubernetes.client.models.v1_device_attribute import V1DeviceAttribute +from kubernetes.client.models.v1_device_capacity import V1DeviceCapacity +from kubernetes.client.models.v1_device_claim import V1DeviceClaim +from kubernetes.client.models.v1_device_claim_configuration import V1DeviceClaimConfiguration +from kubernetes.client.models.v1_device_class import V1DeviceClass +from kubernetes.client.models.v1_device_class_configuration import V1DeviceClassConfiguration +from kubernetes.client.models.v1_device_class_list import V1DeviceClassList +from kubernetes.client.models.v1_device_class_spec import V1DeviceClassSpec +from kubernetes.client.models.v1_device_constraint import V1DeviceConstraint +from kubernetes.client.models.v1_device_counter_consumption import V1DeviceCounterConsumption +from kubernetes.client.models.v1_device_request import V1DeviceRequest +from kubernetes.client.models.v1_device_request_allocation_result import V1DeviceRequestAllocationResult +from kubernetes.client.models.v1_device_selector import V1DeviceSelector +from kubernetes.client.models.v1_device_sub_request import V1DeviceSubRequest +from kubernetes.client.models.v1_device_taint import V1DeviceTaint +from kubernetes.client.models.v1_device_toleration import V1DeviceToleration +from kubernetes.client.models.v1_downward_api_projection import V1DownwardAPIProjection +from kubernetes.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile +from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource +from kubernetes.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource +from kubernetes.client.models.v1_endpoint import V1Endpoint +from kubernetes.client.models.v1_endpoint_address import V1EndpointAddress +from kubernetes.client.models.v1_endpoint_conditions import V1EndpointConditions +from kubernetes.client.models.v1_endpoint_hints import V1EndpointHints +from kubernetes.client.models.v1_endpoint_slice import V1EndpointSlice +from kubernetes.client.models.v1_endpoint_slice_list import V1EndpointSliceList +from kubernetes.client.models.v1_endpoint_subset import V1EndpointSubset +from kubernetes.client.models.v1_endpoints import V1Endpoints +from kubernetes.client.models.v1_endpoints_list import V1EndpointsList +from kubernetes.client.models.v1_env_from_source import V1EnvFromSource +from kubernetes.client.models.v1_env_var import V1EnvVar +from kubernetes.client.models.v1_env_var_source import V1EnvVarSource +from kubernetes.client.models.v1_ephemeral_container import V1EphemeralContainer +from kubernetes.client.models.v1_ephemeral_volume_source import V1EphemeralVolumeSource +from kubernetes.client.models.v1_event_source import V1EventSource +from kubernetes.client.models.v1_eviction import V1Eviction +from kubernetes.client.models.v1_exact_device_request import V1ExactDeviceRequest +from kubernetes.client.models.v1_exec_action import V1ExecAction +from kubernetes.client.models.v1_exempt_priority_level_configuration import V1ExemptPriorityLevelConfiguration +from kubernetes.client.models.v1_expression_warning import V1ExpressionWarning +from kubernetes.client.models.v1_external_documentation import V1ExternalDocumentation +from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource +from kubernetes.client.models.v1_field_selector_attributes import V1FieldSelectorAttributes +from kubernetes.client.models.v1_field_selector_requirement import V1FieldSelectorRequirement +from kubernetes.client.models.v1_file_key_selector import V1FileKeySelector +from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource +from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource +from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource +from kubernetes.client.models.v1_flow_distinguisher_method import V1FlowDistinguisherMethod +from kubernetes.client.models.v1_flow_schema import V1FlowSchema +from kubernetes.client.models.v1_flow_schema_condition import V1FlowSchemaCondition +from kubernetes.client.models.v1_flow_schema_list import V1FlowSchemaList +from kubernetes.client.models.v1_flow_schema_spec import V1FlowSchemaSpec +from kubernetes.client.models.v1_flow_schema_status import V1FlowSchemaStatus +from kubernetes.client.models.v1_for_node import V1ForNode +from kubernetes.client.models.v1_for_zone import V1ForZone +from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource +from kubernetes.client.models.v1_grpc_action import V1GRPCAction +from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource +from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource +from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource +from kubernetes.client.models.v1_group_resource import V1GroupResource +from kubernetes.client.models.v1_group_subject import V1GroupSubject +from kubernetes.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery +from kubernetes.client.models.v1_http_get_action import V1HTTPGetAction +from kubernetes.client.models.v1_http_header import V1HTTPHeader +from kubernetes.client.models.v1_http_ingress_path import V1HTTPIngressPath +from kubernetes.client.models.v1_http_ingress_rule_value import V1HTTPIngressRuleValue +from kubernetes.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler +from kubernetes.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList +from kubernetes.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec +from kubernetes.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus +from kubernetes.client.models.v1_host_alias import V1HostAlias +from kubernetes.client.models.v1_host_ip import V1HostIP +from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolumeSource +from kubernetes.client.models.v1_ip_address import V1IPAddress +from kubernetes.client.models.v1_ip_address_list import V1IPAddressList +from kubernetes.client.models.v1_ip_address_spec import V1IPAddressSpec +from kubernetes.client.models.v1_ip_block import V1IPBlock +from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource +from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource +from kubernetes.client.models.v1_image_volume_source import V1ImageVolumeSource +from kubernetes.client.models.v1_ingress import V1Ingress +from kubernetes.client.models.v1_ingress_backend import V1IngressBackend +from kubernetes.client.models.v1_ingress_class import V1IngressClass +from kubernetes.client.models.v1_ingress_class_list import V1IngressClassList +from kubernetes.client.models.v1_ingress_class_parameters_reference import V1IngressClassParametersReference +from kubernetes.client.models.v1_ingress_class_spec import V1IngressClassSpec +from kubernetes.client.models.v1_ingress_list import V1IngressList +from kubernetes.client.models.v1_ingress_load_balancer_ingress import V1IngressLoadBalancerIngress +from kubernetes.client.models.v1_ingress_load_balancer_status import V1IngressLoadBalancerStatus +from kubernetes.client.models.v1_ingress_port_status import V1IngressPortStatus +from kubernetes.client.models.v1_ingress_rule import V1IngressRule +from kubernetes.client.models.v1_ingress_service_backend import V1IngressServiceBackend +from kubernetes.client.models.v1_ingress_spec import V1IngressSpec +from kubernetes.client.models.v1_ingress_status import V1IngressStatus +from kubernetes.client.models.v1_ingress_tls import V1IngressTLS +from kubernetes.client.models.v1_json_schema_props import V1JSONSchemaProps +from kubernetes.client.models.v1_job import V1Job +from kubernetes.client.models.v1_job_condition import V1JobCondition +from kubernetes.client.models.v1_job_list import V1JobList +from kubernetes.client.models.v1_job_spec import V1JobSpec +from kubernetes.client.models.v1_job_status import V1JobStatus +from kubernetes.client.models.v1_job_template_spec import V1JobTemplateSpec +from kubernetes.client.models.v1_key_to_path import V1KeyToPath +from kubernetes.client.models.v1_label_selector import V1LabelSelector +from kubernetes.client.models.v1_label_selector_attributes import V1LabelSelectorAttributes +from kubernetes.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement +from kubernetes.client.models.v1_lease import V1Lease +from kubernetes.client.models.v1_lease_list import V1LeaseList +from kubernetes.client.models.v1_lease_spec import V1LeaseSpec +from kubernetes.client.models.v1_lifecycle import V1Lifecycle +from kubernetes.client.models.v1_lifecycle_handler import V1LifecycleHandler +from kubernetes.client.models.v1_limit_range import V1LimitRange +from kubernetes.client.models.v1_limit_range_item import V1LimitRangeItem +from kubernetes.client.models.v1_limit_range_list import V1LimitRangeList +from kubernetes.client.models.v1_limit_range_spec import V1LimitRangeSpec +from kubernetes.client.models.v1_limit_response import V1LimitResponse +from kubernetes.client.models.v1_limited_priority_level_configuration import V1LimitedPriorityLevelConfiguration +from kubernetes.client.models.v1_linux_container_user import V1LinuxContainerUser +from kubernetes.client.models.v1_list_meta import V1ListMeta +from kubernetes.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress +from kubernetes.client.models.v1_load_balancer_status import V1LoadBalancerStatus +from kubernetes.client.models.v1_local_object_reference import V1LocalObjectReference +from kubernetes.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview +from kubernetes.client.models.v1_local_volume_source import V1LocalVolumeSource +from kubernetes.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry +from kubernetes.client.models.v1_match_condition import V1MatchCondition +from kubernetes.client.models.v1_match_resources import V1MatchResources +from kubernetes.client.models.v1_modify_volume_status import V1ModifyVolumeStatus +from kubernetes.client.models.v1_mutating_webhook import V1MutatingWebhook +from kubernetes.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration +from kubernetes.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList +from kubernetes.client.models.v1_nfs_volume_source import V1NFSVolumeSource +from kubernetes.client.models.v1_named_rule_with_operations import V1NamedRuleWithOperations +from kubernetes.client.models.v1_namespace import V1Namespace +from kubernetes.client.models.v1_namespace_condition import V1NamespaceCondition +from kubernetes.client.models.v1_namespace_list import V1NamespaceList +from kubernetes.client.models.v1_namespace_spec import V1NamespaceSpec +from kubernetes.client.models.v1_namespace_status import V1NamespaceStatus +from kubernetes.client.models.v1_network_device_data import V1NetworkDeviceData +from kubernetes.client.models.v1_network_policy import V1NetworkPolicy +from kubernetes.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule +from kubernetes.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule +from kubernetes.client.models.v1_network_policy_list import V1NetworkPolicyList +from kubernetes.client.models.v1_network_policy_peer import V1NetworkPolicyPeer +from kubernetes.client.models.v1_network_policy_port import V1NetworkPolicyPort +from kubernetes.client.models.v1_network_policy_spec import V1NetworkPolicySpec +from kubernetes.client.models.v1_node import V1Node +from kubernetes.client.models.v1_node_address import V1NodeAddress +from kubernetes.client.models.v1_node_affinity import V1NodeAffinity +from kubernetes.client.models.v1_node_condition import V1NodeCondition +from kubernetes.client.models.v1_node_config_source import V1NodeConfigSource +from kubernetes.client.models.v1_node_config_status import V1NodeConfigStatus +from kubernetes.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints +from kubernetes.client.models.v1_node_features import V1NodeFeatures +from kubernetes.client.models.v1_node_list import V1NodeList +from kubernetes.client.models.v1_node_runtime_handler import V1NodeRuntimeHandler +from kubernetes.client.models.v1_node_runtime_handler_features import V1NodeRuntimeHandlerFeatures +from kubernetes.client.models.v1_node_selector import V1NodeSelector +from kubernetes.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement +from kubernetes.client.models.v1_node_selector_term import V1NodeSelectorTerm +from kubernetes.client.models.v1_node_spec import V1NodeSpec +from kubernetes.client.models.v1_node_status import V1NodeStatus +from kubernetes.client.models.v1_node_swap_status import V1NodeSwapStatus +from kubernetes.client.models.v1_node_system_info import V1NodeSystemInfo +from kubernetes.client.models.v1_non_resource_attributes import V1NonResourceAttributes +from kubernetes.client.models.v1_non_resource_policy_rule import V1NonResourcePolicyRule +from kubernetes.client.models.v1_non_resource_rule import V1NonResourceRule +from kubernetes.client.models.v1_object_field_selector import V1ObjectFieldSelector +from kubernetes.client.models.v1_object_meta import V1ObjectMeta +from kubernetes.client.models.v1_object_reference import V1ObjectReference +from kubernetes.client.models.v1_opaque_device_configuration import V1OpaqueDeviceConfiguration +from kubernetes.client.models.v1_overhead import V1Overhead +from kubernetes.client.models.v1_owner_reference import V1OwnerReference +from kubernetes.client.models.v1_param_kind import V1ParamKind +from kubernetes.client.models.v1_param_ref import V1ParamRef +from kubernetes.client.models.v1_parent_reference import V1ParentReference +from kubernetes.client.models.v1_persistent_volume import V1PersistentVolume +from kubernetes.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim +from kubernetes.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition +from kubernetes.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList +from kubernetes.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec +from kubernetes.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus +from kubernetes.client.models.v1_persistent_volume_claim_template import V1PersistentVolumeClaimTemplate +from kubernetes.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource +from kubernetes.client.models.v1_persistent_volume_list import V1PersistentVolumeList +from kubernetes.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec +from kubernetes.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus +from kubernetes.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource +from kubernetes.client.models.v1_pod import V1Pod +from kubernetes.client.models.v1_pod_affinity import V1PodAffinity +from kubernetes.client.models.v1_pod_affinity_term import V1PodAffinityTerm +from kubernetes.client.models.v1_pod_anti_affinity import V1PodAntiAffinity +from kubernetes.client.models.v1_pod_certificate_projection import V1PodCertificateProjection +from kubernetes.client.models.v1_pod_condition import V1PodCondition +from kubernetes.client.models.v1_pod_dns_config import V1PodDNSConfig +from kubernetes.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption +from kubernetes.client.models.v1_pod_disruption_budget import V1PodDisruptionBudget +from kubernetes.client.models.v1_pod_disruption_budget_list import V1PodDisruptionBudgetList +from kubernetes.client.models.v1_pod_disruption_budget_spec import V1PodDisruptionBudgetSpec +from kubernetes.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus +from kubernetes.client.models.v1_pod_extended_resource_claim_status import V1PodExtendedResourceClaimStatus +from kubernetes.client.models.v1_pod_failure_policy import V1PodFailurePolicy +from kubernetes.client.models.v1_pod_failure_policy_on_exit_codes_requirement import V1PodFailurePolicyOnExitCodesRequirement +from kubernetes.client.models.v1_pod_failure_policy_on_pod_conditions_pattern import V1PodFailurePolicyOnPodConditionsPattern +from kubernetes.client.models.v1_pod_failure_policy_rule import V1PodFailurePolicyRule +from kubernetes.client.models.v1_pod_ip import V1PodIP +from kubernetes.client.models.v1_pod_list import V1PodList +from kubernetes.client.models.v1_pod_os import V1PodOS +from kubernetes.client.models.v1_pod_readiness_gate import V1PodReadinessGate +from kubernetes.client.models.v1_pod_resource_claim import V1PodResourceClaim +from kubernetes.client.models.v1_pod_resource_claim_status import V1PodResourceClaimStatus +from kubernetes.client.models.v1_pod_scheduling_gate import V1PodSchedulingGate +from kubernetes.client.models.v1_pod_security_context import V1PodSecurityContext +from kubernetes.client.models.v1_pod_spec import V1PodSpec +from kubernetes.client.models.v1_pod_status import V1PodStatus +from kubernetes.client.models.v1_pod_template import V1PodTemplate +from kubernetes.client.models.v1_pod_template_list import V1PodTemplateList +from kubernetes.client.models.v1_pod_template_spec import V1PodTemplateSpec +from kubernetes.client.models.v1_policy_rule import V1PolicyRule +from kubernetes.client.models.v1_policy_rules_with_subjects import V1PolicyRulesWithSubjects +from kubernetes.client.models.v1_port_status import V1PortStatus +from kubernetes.client.models.v1_portworx_volume_source import V1PortworxVolumeSource +from kubernetes.client.models.v1_preconditions import V1Preconditions +from kubernetes.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm +from kubernetes.client.models.v1_priority_class import V1PriorityClass +from kubernetes.client.models.v1_priority_class_list import V1PriorityClassList +from kubernetes.client.models.v1_priority_level_configuration import V1PriorityLevelConfiguration +from kubernetes.client.models.v1_priority_level_configuration_condition import V1PriorityLevelConfigurationCondition +from kubernetes.client.models.v1_priority_level_configuration_list import V1PriorityLevelConfigurationList +from kubernetes.client.models.v1_priority_level_configuration_reference import V1PriorityLevelConfigurationReference +from kubernetes.client.models.v1_priority_level_configuration_spec import V1PriorityLevelConfigurationSpec +from kubernetes.client.models.v1_priority_level_configuration_status import V1PriorityLevelConfigurationStatus +from kubernetes.client.models.v1_probe import V1Probe +from kubernetes.client.models.v1_projected_volume_source import V1ProjectedVolumeSource +from kubernetes.client.models.v1_queuing_configuration import V1QueuingConfiguration +from kubernetes.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource +from kubernetes.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource +from kubernetes.client.models.v1_rbd_volume_source import V1RBDVolumeSource +from kubernetes.client.models.v1_replica_set import V1ReplicaSet +from kubernetes.client.models.v1_replica_set_condition import V1ReplicaSetCondition +from kubernetes.client.models.v1_replica_set_list import V1ReplicaSetList +from kubernetes.client.models.v1_replica_set_spec import V1ReplicaSetSpec +from kubernetes.client.models.v1_replica_set_status import V1ReplicaSetStatus +from kubernetes.client.models.v1_replication_controller import V1ReplicationController +from kubernetes.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition +from kubernetes.client.models.v1_replication_controller_list import V1ReplicationControllerList +from kubernetes.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec +from kubernetes.client.models.v1_replication_controller_status import V1ReplicationControllerStatus +from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes +from kubernetes.client.models.v1_resource_claim_consumer_reference import V1ResourceClaimConsumerReference +from kubernetes.client.models.v1_resource_claim_list import V1ResourceClaimList +from kubernetes.client.models.v1_resource_claim_spec import V1ResourceClaimSpec +from kubernetes.client.models.v1_resource_claim_status import V1ResourceClaimStatus +from kubernetes.client.models.v1_resource_claim_template import V1ResourceClaimTemplate +from kubernetes.client.models.v1_resource_claim_template_list import V1ResourceClaimTemplateList +from kubernetes.client.models.v1_resource_claim_template_spec import V1ResourceClaimTemplateSpec +from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector +from kubernetes.client.models.v1_resource_health import V1ResourceHealth +from kubernetes.client.models.v1_resource_policy_rule import V1ResourcePolicyRule +from kubernetes.client.models.v1_resource_pool import V1ResourcePool +from kubernetes.client.models.v1_resource_quota import V1ResourceQuota +from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList +from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec +from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus +from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements +from kubernetes.client.models.v1_resource_rule import V1ResourceRule +from kubernetes.client.models.v1_resource_slice import V1ResourceSlice +from kubernetes.client.models.v1_resource_slice_list import V1ResourceSliceList +from kubernetes.client.models.v1_resource_slice_spec import V1ResourceSliceSpec +from kubernetes.client.models.v1_resource_status import V1ResourceStatus +from kubernetes.client.models.v1_role import V1Role +from kubernetes.client.models.v1_role_binding import V1RoleBinding +from kubernetes.client.models.v1_role_binding_list import V1RoleBindingList +from kubernetes.client.models.v1_role_list import V1RoleList +from kubernetes.client.models.v1_role_ref import V1RoleRef +from kubernetes.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet +from kubernetes.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment +from kubernetes.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy +from kubernetes.client.models.v1_rule_with_operations import V1RuleWithOperations +from kubernetes.client.models.v1_runtime_class import V1RuntimeClass +from kubernetes.client.models.v1_runtime_class_list import V1RuntimeClassList +from kubernetes.client.models.v1_se_linux_options import V1SELinuxOptions +from kubernetes.client.models.v1_scale import V1Scale +from kubernetes.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource +from kubernetes.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource +from kubernetes.client.models.v1_scale_spec import V1ScaleSpec +from kubernetes.client.models.v1_scale_status import V1ScaleStatus +from kubernetes.client.models.v1_scheduling import V1Scheduling +from kubernetes.client.models.v1_scope_selector import V1ScopeSelector +from kubernetes.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement +from kubernetes.client.models.v1_seccomp_profile import V1SeccompProfile +from kubernetes.client.models.v1_secret import V1Secret +from kubernetes.client.models.v1_secret_env_source import V1SecretEnvSource +from kubernetes.client.models.v1_secret_key_selector import V1SecretKeySelector +from kubernetes.client.models.v1_secret_list import V1SecretList +from kubernetes.client.models.v1_secret_projection import V1SecretProjection +from kubernetes.client.models.v1_secret_reference import V1SecretReference +from kubernetes.client.models.v1_secret_volume_source import V1SecretVolumeSource +from kubernetes.client.models.v1_security_context import V1SecurityContext +from kubernetes.client.models.v1_selectable_field import V1SelectableField +from kubernetes.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview +from kubernetes.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec +from kubernetes.client.models.v1_self_subject_review import V1SelfSubjectReview +from kubernetes.client.models.v1_self_subject_review_status import V1SelfSubjectReviewStatus +from kubernetes.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview +from kubernetes.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec +from kubernetes.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR +from kubernetes.client.models.v1_service import V1Service +from kubernetes.client.models.v1_service_account import V1ServiceAccount +from kubernetes.client.models.v1_service_account_list import V1ServiceAccountList +from kubernetes.client.models.v1_service_account_subject import V1ServiceAccountSubject +from kubernetes.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection +from kubernetes.client.models.v1_service_backend_port import V1ServiceBackendPort +from kubernetes.client.models.v1_service_cidr import V1ServiceCIDR +from kubernetes.client.models.v1_service_cidr_list import V1ServiceCIDRList +from kubernetes.client.models.v1_service_cidr_spec import V1ServiceCIDRSpec +from kubernetes.client.models.v1_service_cidr_status import V1ServiceCIDRStatus +from kubernetes.client.models.v1_service_list import V1ServiceList +from kubernetes.client.models.v1_service_port import V1ServicePort +from kubernetes.client.models.v1_service_spec import V1ServiceSpec +from kubernetes.client.models.v1_service_status import V1ServiceStatus +from kubernetes.client.models.v1_session_affinity_config import V1SessionAffinityConfig +from kubernetes.client.models.v1_sleep_action import V1SleepAction +from kubernetes.client.models.v1_stateful_set import V1StatefulSet +from kubernetes.client.models.v1_stateful_set_condition import V1StatefulSetCondition +from kubernetes.client.models.v1_stateful_set_list import V1StatefulSetList +from kubernetes.client.models.v1_stateful_set_ordinals import V1StatefulSetOrdinals +from kubernetes.client.models.v1_stateful_set_persistent_volume_claim_retention_policy import V1StatefulSetPersistentVolumeClaimRetentionPolicy +from kubernetes.client.models.v1_stateful_set_spec import V1StatefulSetSpec +from kubernetes.client.models.v1_stateful_set_status import V1StatefulSetStatus +from kubernetes.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy +from kubernetes.client.models.v1_status import V1Status +from kubernetes.client.models.v1_status_cause import V1StatusCause +from kubernetes.client.models.v1_status_details import V1StatusDetails +from kubernetes.client.models.v1_storage_class import V1StorageClass +from kubernetes.client.models.v1_storage_class_list import V1StorageClassList +from kubernetes.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource +from kubernetes.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource +from kubernetes.client.models.v1_subject_access_review import V1SubjectAccessReview +from kubernetes.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec +from kubernetes.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus +from kubernetes.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus +from kubernetes.client.models.v1_success_policy import V1SuccessPolicy +from kubernetes.client.models.v1_success_policy_rule import V1SuccessPolicyRule +from kubernetes.client.models.v1_sysctl import V1Sysctl +from kubernetes.client.models.v1_tcp_socket_action import V1TCPSocketAction +from kubernetes.client.models.v1_taint import V1Taint +from kubernetes.client.models.v1_token_request_spec import V1TokenRequestSpec +from kubernetes.client.models.v1_token_request_status import V1TokenRequestStatus +from kubernetes.client.models.v1_token_review import V1TokenReview +from kubernetes.client.models.v1_token_review_spec import V1TokenReviewSpec +from kubernetes.client.models.v1_token_review_status import V1TokenReviewStatus +from kubernetes.client.models.v1_toleration import V1Toleration +from kubernetes.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement +from kubernetes.client.models.v1_topology_selector_term import V1TopologySelectorTerm +from kubernetes.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint +from kubernetes.client.models.v1_type_checking import V1TypeChecking +from kubernetes.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference +from kubernetes.client.models.v1_typed_object_reference import V1TypedObjectReference +from kubernetes.client.models.v1_uncounted_terminated_pods import V1UncountedTerminatedPods +from kubernetes.client.models.v1_user_info import V1UserInfo +from kubernetes.client.models.v1_user_subject import V1UserSubject +from kubernetes.client.models.v1_validating_admission_policy import V1ValidatingAdmissionPolicy +from kubernetes.client.models.v1_validating_admission_policy_binding import V1ValidatingAdmissionPolicyBinding +from kubernetes.client.models.v1_validating_admission_policy_binding_list import V1ValidatingAdmissionPolicyBindingList +from kubernetes.client.models.v1_validating_admission_policy_binding_spec import V1ValidatingAdmissionPolicyBindingSpec +from kubernetes.client.models.v1_validating_admission_policy_list import V1ValidatingAdmissionPolicyList +from kubernetes.client.models.v1_validating_admission_policy_spec import V1ValidatingAdmissionPolicySpec +from kubernetes.client.models.v1_validating_admission_policy_status import V1ValidatingAdmissionPolicyStatus +from kubernetes.client.models.v1_validating_webhook import V1ValidatingWebhook +from kubernetes.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration +from kubernetes.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList +from kubernetes.client.models.v1_validation import V1Validation +from kubernetes.client.models.v1_validation_rule import V1ValidationRule +from kubernetes.client.models.v1_variable import V1Variable +from kubernetes.client.models.v1_volume import V1Volume +from kubernetes.client.models.v1_volume_attachment import V1VolumeAttachment +from kubernetes.client.models.v1_volume_attachment_list import V1VolumeAttachmentList +from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource +from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec +from kubernetes.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus +from kubernetes.client.models.v1_volume_attributes_class import V1VolumeAttributesClass +from kubernetes.client.models.v1_volume_attributes_class_list import V1VolumeAttributesClassList +from kubernetes.client.models.v1_volume_device import V1VolumeDevice +from kubernetes.client.models.v1_volume_error import V1VolumeError +from kubernetes.client.models.v1_volume_mount import V1VolumeMount +from kubernetes.client.models.v1_volume_mount_status import V1VolumeMountStatus +from kubernetes.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity +from kubernetes.client.models.v1_volume_node_resources import V1VolumeNodeResources +from kubernetes.client.models.v1_volume_projection import V1VolumeProjection +from kubernetes.client.models.v1_volume_resource_requirements import V1VolumeResourceRequirements +from kubernetes.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource +from kubernetes.client.models.v1_watch_event import V1WatchEvent +from kubernetes.client.models.v1_webhook_conversion import V1WebhookConversion +from kubernetes.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm +from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions +from kubernetes.client.models.v1_workload_reference import V1WorkloadReference +from kubernetes.client.models.v1alpha1_apply_configuration import V1alpha1ApplyConfiguration +from kubernetes.client.models.v1alpha1_cluster_trust_bundle import V1alpha1ClusterTrustBundle +from kubernetes.client.models.v1alpha1_cluster_trust_bundle_list import V1alpha1ClusterTrustBundleList +from kubernetes.client.models.v1alpha1_cluster_trust_bundle_spec import V1alpha1ClusterTrustBundleSpec +from kubernetes.client.models.v1alpha1_gang_scheduling_policy import V1alpha1GangSchedulingPolicy +from kubernetes.client.models.v1alpha1_json_patch import V1alpha1JSONPatch +from kubernetes.client.models.v1alpha1_match_condition import V1alpha1MatchCondition +from kubernetes.client.models.v1alpha1_match_resources import V1alpha1MatchResources +from kubernetes.client.models.v1alpha1_mutating_admission_policy import V1alpha1MutatingAdmissionPolicy +from kubernetes.client.models.v1alpha1_mutating_admission_policy_binding import V1alpha1MutatingAdmissionPolicyBinding +from kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_list import V1alpha1MutatingAdmissionPolicyBindingList +from kubernetes.client.models.v1alpha1_mutating_admission_policy_binding_spec import V1alpha1MutatingAdmissionPolicyBindingSpec +from kubernetes.client.models.v1alpha1_mutating_admission_policy_list import V1alpha1MutatingAdmissionPolicyList +from kubernetes.client.models.v1alpha1_mutating_admission_policy_spec import V1alpha1MutatingAdmissionPolicySpec +from kubernetes.client.models.v1alpha1_mutation import V1alpha1Mutation +from kubernetes.client.models.v1alpha1_named_rule_with_operations import V1alpha1NamedRuleWithOperations +from kubernetes.client.models.v1alpha1_param_kind import V1alpha1ParamKind +from kubernetes.client.models.v1alpha1_param_ref import V1alpha1ParamRef +from kubernetes.client.models.v1alpha1_pod_group import V1alpha1PodGroup +from kubernetes.client.models.v1alpha1_pod_group_policy import V1alpha1PodGroupPolicy +from kubernetes.client.models.v1alpha1_server_storage_version import V1alpha1ServerStorageVersion +from kubernetes.client.models.v1alpha1_storage_version import V1alpha1StorageVersion +from kubernetes.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition +from kubernetes.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList +from kubernetes.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus +from kubernetes.client.models.v1alpha1_typed_local_object_reference import V1alpha1TypedLocalObjectReference +from kubernetes.client.models.v1alpha1_variable import V1alpha1Variable +from kubernetes.client.models.v1alpha1_workload import V1alpha1Workload +from kubernetes.client.models.v1alpha1_workload_list import V1alpha1WorkloadList +from kubernetes.client.models.v1alpha1_workload_spec import V1alpha1WorkloadSpec +from kubernetes.client.models.v1alpha2_lease_candidate import V1alpha2LeaseCandidate +from kubernetes.client.models.v1alpha2_lease_candidate_list import V1alpha2LeaseCandidateList +from kubernetes.client.models.v1alpha2_lease_candidate_spec import V1alpha2LeaseCandidateSpec +from kubernetes.client.models.v1alpha3_device_taint import V1alpha3DeviceTaint +from kubernetes.client.models.v1alpha3_device_taint_rule import V1alpha3DeviceTaintRule +from kubernetes.client.models.v1alpha3_device_taint_rule_list import V1alpha3DeviceTaintRuleList +from kubernetes.client.models.v1alpha3_device_taint_rule_spec import V1alpha3DeviceTaintRuleSpec +from kubernetes.client.models.v1alpha3_device_taint_rule_status import V1alpha3DeviceTaintRuleStatus +from kubernetes.client.models.v1alpha3_device_taint_selector import V1alpha3DeviceTaintSelector +from kubernetes.client.models.v1beta1_allocated_device_status import V1beta1AllocatedDeviceStatus +from kubernetes.client.models.v1beta1_allocation_result import V1beta1AllocationResult +from kubernetes.client.models.v1beta1_apply_configuration import V1beta1ApplyConfiguration +from kubernetes.client.models.v1beta1_basic_device import V1beta1BasicDevice +from kubernetes.client.models.v1beta1_cel_device_selector import V1beta1CELDeviceSelector +from kubernetes.client.models.v1beta1_capacity_request_policy import V1beta1CapacityRequestPolicy +from kubernetes.client.models.v1beta1_capacity_request_policy_range import V1beta1CapacityRequestPolicyRange +from kubernetes.client.models.v1beta1_capacity_requirements import V1beta1CapacityRequirements +from kubernetes.client.models.v1beta1_cluster_trust_bundle import V1beta1ClusterTrustBundle +from kubernetes.client.models.v1beta1_cluster_trust_bundle_list import V1beta1ClusterTrustBundleList +from kubernetes.client.models.v1beta1_cluster_trust_bundle_spec import V1beta1ClusterTrustBundleSpec +from kubernetes.client.models.v1beta1_counter import V1beta1Counter +from kubernetes.client.models.v1beta1_counter_set import V1beta1CounterSet +from kubernetes.client.models.v1beta1_device import V1beta1Device +from kubernetes.client.models.v1beta1_device_allocation_configuration import V1beta1DeviceAllocationConfiguration +from kubernetes.client.models.v1beta1_device_allocation_result import V1beta1DeviceAllocationResult +from kubernetes.client.models.v1beta1_device_attribute import V1beta1DeviceAttribute +from kubernetes.client.models.v1beta1_device_capacity import V1beta1DeviceCapacity +from kubernetes.client.models.v1beta1_device_claim import V1beta1DeviceClaim +from kubernetes.client.models.v1beta1_device_claim_configuration import V1beta1DeviceClaimConfiguration +from kubernetes.client.models.v1beta1_device_class import V1beta1DeviceClass +from kubernetes.client.models.v1beta1_device_class_configuration import V1beta1DeviceClassConfiguration +from kubernetes.client.models.v1beta1_device_class_list import V1beta1DeviceClassList +from kubernetes.client.models.v1beta1_device_class_spec import V1beta1DeviceClassSpec +from kubernetes.client.models.v1beta1_device_constraint import V1beta1DeviceConstraint +from kubernetes.client.models.v1beta1_device_counter_consumption import V1beta1DeviceCounterConsumption +from kubernetes.client.models.v1beta1_device_request import V1beta1DeviceRequest +from kubernetes.client.models.v1beta1_device_request_allocation_result import V1beta1DeviceRequestAllocationResult +from kubernetes.client.models.v1beta1_device_selector import V1beta1DeviceSelector +from kubernetes.client.models.v1beta1_device_sub_request import V1beta1DeviceSubRequest +from kubernetes.client.models.v1beta1_device_taint import V1beta1DeviceTaint +from kubernetes.client.models.v1beta1_device_toleration import V1beta1DeviceToleration +from kubernetes.client.models.v1beta1_ip_address import V1beta1IPAddress +from kubernetes.client.models.v1beta1_ip_address_list import V1beta1IPAddressList +from kubernetes.client.models.v1beta1_ip_address_spec import V1beta1IPAddressSpec +from kubernetes.client.models.v1beta1_json_patch import V1beta1JSONPatch +from kubernetes.client.models.v1beta1_lease_candidate import V1beta1LeaseCandidate +from kubernetes.client.models.v1beta1_lease_candidate_list import V1beta1LeaseCandidateList +from kubernetes.client.models.v1beta1_lease_candidate_spec import V1beta1LeaseCandidateSpec +from kubernetes.client.models.v1beta1_match_condition import V1beta1MatchCondition +from kubernetes.client.models.v1beta1_match_resources import V1beta1MatchResources +from kubernetes.client.models.v1beta1_mutating_admission_policy import V1beta1MutatingAdmissionPolicy +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding import V1beta1MutatingAdmissionPolicyBinding +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding_list import V1beta1MutatingAdmissionPolicyBindingList +from kubernetes.client.models.v1beta1_mutating_admission_policy_binding_spec import V1beta1MutatingAdmissionPolicyBindingSpec +from kubernetes.client.models.v1beta1_mutating_admission_policy_list import V1beta1MutatingAdmissionPolicyList +from kubernetes.client.models.v1beta1_mutating_admission_policy_spec import V1beta1MutatingAdmissionPolicySpec +from kubernetes.client.models.v1beta1_mutation import V1beta1Mutation +from kubernetes.client.models.v1beta1_named_rule_with_operations import V1beta1NamedRuleWithOperations +from kubernetes.client.models.v1beta1_network_device_data import V1beta1NetworkDeviceData +from kubernetes.client.models.v1beta1_opaque_device_configuration import V1beta1OpaqueDeviceConfiguration +from kubernetes.client.models.v1beta1_param_kind import V1beta1ParamKind +from kubernetes.client.models.v1beta1_param_ref import V1beta1ParamRef +from kubernetes.client.models.v1beta1_parent_reference import V1beta1ParentReference +from kubernetes.client.models.v1beta1_pod_certificate_request import V1beta1PodCertificateRequest +from kubernetes.client.models.v1beta1_pod_certificate_request_list import V1beta1PodCertificateRequestList +from kubernetes.client.models.v1beta1_pod_certificate_request_spec import V1beta1PodCertificateRequestSpec +from kubernetes.client.models.v1beta1_pod_certificate_request_status import V1beta1PodCertificateRequestStatus +from kubernetes.client.models.v1beta1_resource_claim import V1beta1ResourceClaim +from kubernetes.client.models.v1beta1_resource_claim_consumer_reference import V1beta1ResourceClaimConsumerReference +from kubernetes.client.models.v1beta1_resource_claim_list import V1beta1ResourceClaimList +from kubernetes.client.models.v1beta1_resource_claim_spec import V1beta1ResourceClaimSpec +from kubernetes.client.models.v1beta1_resource_claim_status import V1beta1ResourceClaimStatus +from kubernetes.client.models.v1beta1_resource_claim_template import V1beta1ResourceClaimTemplate +from kubernetes.client.models.v1beta1_resource_claim_template_list import V1beta1ResourceClaimTemplateList +from kubernetes.client.models.v1beta1_resource_claim_template_spec import V1beta1ResourceClaimTemplateSpec +from kubernetes.client.models.v1beta1_resource_pool import V1beta1ResourcePool +from kubernetes.client.models.v1beta1_resource_slice import V1beta1ResourceSlice +from kubernetes.client.models.v1beta1_resource_slice_list import V1beta1ResourceSliceList +from kubernetes.client.models.v1beta1_resource_slice_spec import V1beta1ResourceSliceSpec +from kubernetes.client.models.v1beta1_service_cidr import V1beta1ServiceCIDR +from kubernetes.client.models.v1beta1_service_cidr_list import V1beta1ServiceCIDRList +from kubernetes.client.models.v1beta1_service_cidr_spec import V1beta1ServiceCIDRSpec +from kubernetes.client.models.v1beta1_service_cidr_status import V1beta1ServiceCIDRStatus +from kubernetes.client.models.v1beta1_storage_version_migration import V1beta1StorageVersionMigration +from kubernetes.client.models.v1beta1_storage_version_migration_list import V1beta1StorageVersionMigrationList +from kubernetes.client.models.v1beta1_storage_version_migration_spec import V1beta1StorageVersionMigrationSpec +from kubernetes.client.models.v1beta1_storage_version_migration_status import V1beta1StorageVersionMigrationStatus +from kubernetes.client.models.v1beta1_variable import V1beta1Variable +from kubernetes.client.models.v1beta1_volume_attributes_class import V1beta1VolumeAttributesClass +from kubernetes.client.models.v1beta1_volume_attributes_class_list import V1beta1VolumeAttributesClassList +from kubernetes.client.models.v1beta2_allocated_device_status import V1beta2AllocatedDeviceStatus +from kubernetes.client.models.v1beta2_allocation_result import V1beta2AllocationResult +from kubernetes.client.models.v1beta2_cel_device_selector import V1beta2CELDeviceSelector +from kubernetes.client.models.v1beta2_capacity_request_policy import V1beta2CapacityRequestPolicy +from kubernetes.client.models.v1beta2_capacity_request_policy_range import V1beta2CapacityRequestPolicyRange +from kubernetes.client.models.v1beta2_capacity_requirements import V1beta2CapacityRequirements +from kubernetes.client.models.v1beta2_counter import V1beta2Counter +from kubernetes.client.models.v1beta2_counter_set import V1beta2CounterSet +from kubernetes.client.models.v1beta2_device import V1beta2Device +from kubernetes.client.models.v1beta2_device_allocation_configuration import V1beta2DeviceAllocationConfiguration +from kubernetes.client.models.v1beta2_device_allocation_result import V1beta2DeviceAllocationResult +from kubernetes.client.models.v1beta2_device_attribute import V1beta2DeviceAttribute +from kubernetes.client.models.v1beta2_device_capacity import V1beta2DeviceCapacity +from kubernetes.client.models.v1beta2_device_claim import V1beta2DeviceClaim +from kubernetes.client.models.v1beta2_device_claim_configuration import V1beta2DeviceClaimConfiguration +from kubernetes.client.models.v1beta2_device_class import V1beta2DeviceClass +from kubernetes.client.models.v1beta2_device_class_configuration import V1beta2DeviceClassConfiguration +from kubernetes.client.models.v1beta2_device_class_list import V1beta2DeviceClassList +from kubernetes.client.models.v1beta2_device_class_spec import V1beta2DeviceClassSpec +from kubernetes.client.models.v1beta2_device_constraint import V1beta2DeviceConstraint +from kubernetes.client.models.v1beta2_device_counter_consumption import V1beta2DeviceCounterConsumption +from kubernetes.client.models.v1beta2_device_request import V1beta2DeviceRequest +from kubernetes.client.models.v1beta2_device_request_allocation_result import V1beta2DeviceRequestAllocationResult +from kubernetes.client.models.v1beta2_device_selector import V1beta2DeviceSelector +from kubernetes.client.models.v1beta2_device_sub_request import V1beta2DeviceSubRequest +from kubernetes.client.models.v1beta2_device_taint import V1beta2DeviceTaint +from kubernetes.client.models.v1beta2_device_toleration import V1beta2DeviceToleration +from kubernetes.client.models.v1beta2_exact_device_request import V1beta2ExactDeviceRequest +from kubernetes.client.models.v1beta2_network_device_data import V1beta2NetworkDeviceData +from kubernetes.client.models.v1beta2_opaque_device_configuration import V1beta2OpaqueDeviceConfiguration +from kubernetes.client.models.v1beta2_resource_claim import V1beta2ResourceClaim +from kubernetes.client.models.v1beta2_resource_claim_consumer_reference import V1beta2ResourceClaimConsumerReference +from kubernetes.client.models.v1beta2_resource_claim_list import V1beta2ResourceClaimList +from kubernetes.client.models.v1beta2_resource_claim_spec import V1beta2ResourceClaimSpec +from kubernetes.client.models.v1beta2_resource_claim_status import V1beta2ResourceClaimStatus +from kubernetes.client.models.v1beta2_resource_claim_template import V1beta2ResourceClaimTemplate +from kubernetes.client.models.v1beta2_resource_claim_template_list import V1beta2ResourceClaimTemplateList +from kubernetes.client.models.v1beta2_resource_claim_template_spec import V1beta2ResourceClaimTemplateSpec +from kubernetes.client.models.v1beta2_resource_pool import V1beta2ResourcePool +from kubernetes.client.models.v1beta2_resource_slice import V1beta2ResourceSlice +from kubernetes.client.models.v1beta2_resource_slice_list import V1beta2ResourceSliceList +from kubernetes.client.models.v1beta2_resource_slice_spec import V1beta2ResourceSliceSpec +from kubernetes.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource +from kubernetes.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus +from kubernetes.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference +from kubernetes.client.models.v2_external_metric_source import V2ExternalMetricSource +from kubernetes.client.models.v2_external_metric_status import V2ExternalMetricStatus +from kubernetes.client.models.v2_hpa_scaling_policy import V2HPAScalingPolicy +from kubernetes.client.models.v2_hpa_scaling_rules import V2HPAScalingRules +from kubernetes.client.models.v2_horizontal_pod_autoscaler import V2HorizontalPodAutoscaler +from kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior +from kubernetes.client.models.v2_horizontal_pod_autoscaler_condition import V2HorizontalPodAutoscalerCondition +from kubernetes.client.models.v2_horizontal_pod_autoscaler_list import V2HorizontalPodAutoscalerList +from kubernetes.client.models.v2_horizontal_pod_autoscaler_spec import V2HorizontalPodAutoscalerSpec +from kubernetes.client.models.v2_horizontal_pod_autoscaler_status import V2HorizontalPodAutoscalerStatus +from kubernetes.client.models.v2_metric_identifier import V2MetricIdentifier +from kubernetes.client.models.v2_metric_spec import V2MetricSpec +from kubernetes.client.models.v2_metric_status import V2MetricStatus +from kubernetes.client.models.v2_metric_target import V2MetricTarget +from kubernetes.client.models.v2_metric_value_status import V2MetricValueStatus +from kubernetes.client.models.v2_object_metric_source import V2ObjectMetricSource +from kubernetes.client.models.v2_object_metric_status import V2ObjectMetricStatus +from kubernetes.client.models.v2_pods_metric_source import V2PodsMetricSource +from kubernetes.client.models.v2_pods_metric_status import V2PodsMetricStatus +from kubernetes.client.models.v2_resource_metric_source import V2ResourceMetricSource +from kubernetes.client.models.v2_resource_metric_status import V2ResourceMetricStatus +from kubernetes.client.models.version_info import VersionInfo diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/admissionregistration_v1_service_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/admissionregistration_v1_service_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b24c602c5653371beb31c33553c69d9d787b3c3e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/admissionregistration_v1_service_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/admissionregistration_v1_webhook_client_config.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/admissionregistration_v1_webhook_client_config.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..947a40b197557aa3a20b4e1085a55bce6b14fce7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/admissionregistration_v1_webhook_client_config.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiextensions_v1_service_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiextensions_v1_service_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..53a30523c4672485659c96fe47435f656b99c323 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiextensions_v1_service_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiextensions_v1_webhook_client_config.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiextensions_v1_webhook_client_config.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..90d79bcae4d10c6754f74638165557e19cfe0923 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiextensions_v1_webhook_client_config.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiregistration_v1_service_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiregistration_v1_service_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a6bd8a75ffef58ccb26786b93d159865d1af6948 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/apiregistration_v1_service_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/authentication_v1_token_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/authentication_v1_token_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3cd5422f8f7c0a99627d0e03402666cc5bbbd214 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/authentication_v1_token_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_endpoint_port.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_endpoint_port.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ff006ac1465a81503d34603f5d343293f6adfab9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_endpoint_port.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2934172912300ed00bbd612a6f9f50856c942df5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8456e7918dbfe1201fbe0c2f3b6fc65cb03d1af1 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event_series.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event_series.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..166e8a12353851e5175d9731ae6ea517ae3b9366 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_event_series.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_resource_claim.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_resource_claim.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..495a956d7e428edbc48093d66a7c202ee6a7a061 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/core_v1_resource_claim.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/discovery_v1_endpoint_port.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/discovery_v1_endpoint_port.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7995c4a3f1d95c90a70ddb72d6fd0afe8f0fcfdb Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/discovery_v1_endpoint_port.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ebfd8927e444765951dd2a8616e75131598d75a1 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d4e104d0572edf49d2f5af74b9aaaa61a43ecc46 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event_series.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event_series.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c6af88c9f47bbf1357a5325ae2986fa055271cb2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/events_v1_event_series.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/flowcontrol_v1_subject.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/flowcontrol_v1_subject.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c35f3929d221bc220a68dc7e8e484187475ad26b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/flowcontrol_v1_subject.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/rbac_v1_subject.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/rbac_v1_subject.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1631ccc519c98d72ac1c5a75f3eb15c4eb47251b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/rbac_v1_subject.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/resource_v1_resource_claim.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/resource_v1_resource_claim.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fb8fd40f1a7888f3eaf2dc845ab620d77ffd3fc5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/resource_v1_resource_claim.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/storage_v1_token_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/storage_v1_token_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3f13fcd5d37cf158c83566c6098543a71216a3e6 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/storage_v1_token_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_affinity.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_affinity.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6e1b41706acf5098ac8b2de2f4447e7a265f8474 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_affinity.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_aggregation_rule.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_aggregation_rule.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..182366486bfa989103e3081d1a8e9390598e385a Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_aggregation_rule.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_allocated_device_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_allocated_device_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2b1767226256d11f84828d0d8f2be2e043faebc1 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_allocated_device_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_allocation_result.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_allocation_result.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..563b1df95d9d28693d9ed6634aa414e2362f58ad Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_allocation_result.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_group.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_group.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9f65b6440ef4864913c4c6deadb233fd9d7038d0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_group.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_group_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_group_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a6ca30e019a94ae1843599f9e387204ec2827ba9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_group_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_resource.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_resource.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b9a4b5ca248173e07a84274c51af2cdd3852e6f1 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_resource.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_resource_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_resource_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..53ad708a8188faaa75539af94586c2d397bebb0c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_resource_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..22ad1f10daaec9774203dce1efbe9c572a5ef20c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..94e829e454ce31db3f8c9bd1df146de890364ade Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a46f7dc522cd661d1ebb218dad13f00b11899054 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..181e057ec28a96e5b0d5ddabe7591d574f2be55e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1bc39ab45303247d1532dc895e36008fdfc872f3 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_service_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_versions.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_versions.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5f50c89642a6297da7b5f8670285e936600fdf02 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_api_versions.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_app_armor_profile.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_app_armor_profile.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ea74cea284370730f33e33935a2b1dc1bc5264a7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_app_armor_profile.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_attached_volume.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_attached_volume.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..95222f522eb1bb7a3c82782f0680f521de06c11b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_attached_volume.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_audit_annotation.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_audit_annotation.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0120b55fa419ea77c18cbdf9ad4a51e764260a56 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_audit_annotation.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_aws_elastic_block_store_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_aws_elastic_block_store_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1b643a0135eb2287d6801d61998d2d8ed5df39fa Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_aws_elastic_block_store_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_disk_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_disk_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3d1a4d38b8c7bf4a95161b93e2a3511b6c08f60a Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_disk_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_file_persistent_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_file_persistent_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..423a77d2b396eef050b13f07d8e60bec02f3587c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_file_persistent_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_file_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_file_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4a4771a63285ea239d5182c2cb8da77a9aab50c7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_azure_file_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_binding.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_binding.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f4c510f4c1058acfd6925ff7cbed9a9e08892087 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_binding.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_bound_object_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_bound_object_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..546a935f17d45e5ff6ece62732ad50ed82b7149b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_bound_object_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capabilities.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capabilities.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c3de64c2c9e4daf4558a800934d865d90eb5b78d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capabilities.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_request_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_request_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4462407978eff540e09cb57144a1d46110d653ff Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_request_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_request_policy_range.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_request_policy_range.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f3bbaf356e317a887fdf1ec64c8c404c46474b71 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_request_policy_range.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_requirements.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_requirements.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0c7b0d4417122276a9d22759cb8aafaa2fb113c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_capacity_requirements.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cel_device_selector.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cel_device_selector.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bc46331bc08e7621d4f6e0c98b8c9ba538c4c49c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cel_device_selector.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_ceph_fs_persistent_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_ceph_fs_persistent_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..66b503c25f735634cb1fd19148052c769cddf80f Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_ceph_fs_persistent_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_ceph_fs_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_ceph_fs_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dc61432596f06e1284560bcd8fdf0e56011de50d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_ceph_fs_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5ff7704b2fdc264b97409eabce630903659a7fd9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1fbcc4788f5ff6853632ed233ee2400005e0c87c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..182300ad08a4840bfc1df75d02a1ad39bfe7d325 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..752246de5246912d047423ab9741a92c7633f5d1 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9c13262224cce5cb92e74a59d974ff2b60936790 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_certificate_signing_request_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cinder_persistent_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cinder_persistent_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..053ac1e435d14b1b6ac96a312ebec973e3f92dd0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cinder_persistent_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cinder_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cinder_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0f10d9fbbc5601d3aa86b8446be6f58af7d27807 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cinder_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_client_ip_config.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_client_ip_config.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5e32c63f2f5da0e3d0bb25dac960df6e7cf8def2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_client_ip_config.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bbd9e6ea9973536c2dcbcf69fe1fde662dc1d3d6 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_binding.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_binding.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7d6cd019397a388dd6ac527bb660603e5527c404 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_binding.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_binding_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_binding_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0831a6ed8a9c4cbb9e0f0365054c7e1c032440e7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_binding_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d19d4750d79538e2cbcb7a1768ca65ce33316fed Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_role_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_trust_bundle_projection.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_trust_bundle_projection.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..42ea2df1b3f1ad924f27803fb80885538c2f96f0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cluster_trust_bundle_projection.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..07358f7611e14cce642ba97facb618216635fd2d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..56df49e199c0756dc430bfa4a6bae4e7f18d6b33 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_status_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_status_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..22f445006f15fe7d6b273fef4ef729e3d26f0639 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_component_status_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..205849eb3d8f2873834c5b93a341912dff8752b3 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ae10fd7134c9d655c679cf0a64fad6d5b6db2723 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_env_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_env_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c15bf992095e724fbd3ca3cdd81956f918379dfc Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_env_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_key_selector.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_key_selector.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b73cddc1e8d7db26e84fb10acbe02a555f0567d9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_key_selector.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e719560ae7f1c17984f4ba2ac0d328144fd9c297 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_node_config_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_node_config_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..28e50ca0566080874f4ebff523400a19aeef0dab Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_node_config_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_projection.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_projection.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d0ef2dd11460d9c6ca70cd72c9290bb9b710d5d7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_projection.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..615d79dcfa80a510f9669c2b928a4bfa5babeb60 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_config_map_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3896ec0e6010550cf6db999d3bafb06718770339 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_extended_resource_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_extended_resource_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0d4ebad5b06ffed8d43673a1a250d4cca60362ec Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_extended_resource_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_image.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_image.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..99864ef053d57e058e71f48f2d63e8e9040f1cc7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_image.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_port.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_port.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f3aa9fce7f34255149356beb46926fd454a2c5c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_port.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_resize_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_resize_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d09ff2d98a1dd06ff511824a80aa05bac2ddcd03 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_resize_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_restart_rule.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_restart_rule.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8a363807a634c6be5f98b2b4dc29772d85d9be55 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_restart_rule.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_restart_rule_on_exit_codes.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_restart_rule_on_exit_codes.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eaf849a15fdfdaf0e8d7bc3671e192e5162102ab Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_restart_rule_on_exit_codes.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7666075062ca2598b6f945fa50096e6be490c8b6 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_running.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_running.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..55b84a612ff88757dcd240feffc695c08319c022 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_running.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_terminated.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_terminated.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c571016974968fab39a72678f2629b20a7fe5010 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_terminated.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_waiting.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_waiting.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dfa8558b9a5a764b919c95aab4fc6892612ed9c6 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_state_waiting.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f9ebf2ed017dc7182be48509d5c89f38ad638eb3 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_user.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_user.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..efe42c7f9bd67afcd11ce2ee24c6293472885fed Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_container_user.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_controller_revision.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_controller_revision.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5b2f238c819ee1f9028e64c704b38bbf90b96931 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_controller_revision.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_controller_revision_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_controller_revision_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..487afba4a33448dbdaee63c67e239acee2763d14 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_controller_revision_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_counter.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_counter.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5826d9dd68a1f52144e0f12f0d6babfc4106d2cb Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_counter.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_counter_set.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_counter_set.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d26238f9a7b8cdef3c0fe319fe2a5ce9e9bf4cea Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_counter_set.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a3fe5a5d56373c09716a1428f23919eb277458b4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..362cc26d3bbf5465355057dd4db0f8901494b100 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..18d0da92f746f89a0e6fde2aa40cd884025486b0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2a12dfd912ee5e92cb52ce090a076e38bf1c8904 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cron_job_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cross_version_object_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cross_version_object_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b001cfdad096d5af044de74c3a238a94cf8cc0af Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_cross_version_object_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9bb559d30bd2f73f8eef128a2cbe913904851ec0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cd3b9f280586edb79c49b4859c98d4fd46af5da0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..22e9dd07817c5b0527b9ece7a5c12a20511716cd Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_driver_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cca8d04b60e52565f6268f5b581ef52123116bda Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_driver.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_driver.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..005fb64d2017105626c27082650c4c24da3c655e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_driver.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a1fbbf845df008b51d007393f086bde1993ffd6e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..be8eec25290bc520333ee5c4392fc315a1f85833 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_node_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_persistent_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_persistent_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1e9e711ecfa0af1abd602b59aa7800d49409d7a5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_persistent_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_storage_capacity.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_storage_capacity.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f405909343798b916e0a5f402fec756a15c93851 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_storage_capacity.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_storage_capacity_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_storage_capacity_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e5a0e05d26f2ebbe5f93d402305dcf9035a65e62 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_storage_capacity_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_volume_source.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_volume_source.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8056cfe7fb234ea070a956da82a6b25d34cd3443 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_csi_volume_source.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_column_definition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_column_definition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e5f27c0aca948b9e4510de5960c4d9199ebeff7a Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_column_definition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_conversion.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_conversion.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c308735ff4dd6686996a4f6f933809f75844144b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_conversion.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..322f9482425db1568556bf9d3dde7a85005c0473 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..15664081125aef63e05931f37afc5c4d4dd2c447 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..70e5ce4f68b54224fc5080dd0a21449c48320e81 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_names.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_names.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b6d0ccbb12428095c8518e1ab1ce423a3f978445 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_names.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5a582115a9ad420b14b1b7244816bd7d2d080ca7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e2a7e513cda3c2647430b31aeb2fcb59e8e17093 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1_custom_resource_definition_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_apply_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_apply_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..40b59937fb89da3d70fa64023b294c2496f438aa Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_apply_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c7eb464f898155afc8815f690e2a944df33c32e0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bcbe936876d96311191acaf0965adc1181f975db Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6813634d4c5d5f90a988e3e62d8b03d817c3affd Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_cluster_trust_bundle_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_gang_scheduling_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_gang_scheduling_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8a7f9a3aa6907ef8c405f14048e08965eeab3203 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_gang_scheduling_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_json_patch.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_json_patch.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bdd6f452219c4a48cbac75924e23775c056a3fd2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_json_patch.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_match_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_match_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e2b37f1e0ce9e27322741bf1c21291f8b44857b3 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_match_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_match_resources.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_match_resources.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1d413e186dfdc7c3ff3cc7971ee10687c1b6712f Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_match_resources.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..143ac794f583895cdb6b7200df3ac25e9f5e48a6 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2de0539e17e78ccc27d943f79fdfc322bf2dc273 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..98b712c312d60709e8fc90fbf38621dde0ba4c73 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08ce3b593743ef1718d02222c44663d8b8760511 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_binding_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..89e005ad95d6650299cab4ea4eec4bf7eed983a8 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2b118a8be943ec8ae94178e8a97668089b99da5c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutating_admission_policy_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutation.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutation.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a307468d3ec51655fabe8616b11688d45852cff5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_mutation.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_named_rule_with_operations.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_named_rule_with_operations.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a77aae5ad58521edaaded023ebab2d64568ff9c2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_named_rule_with_operations.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_param_kind.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_param_kind.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dea3b3bcb0060fe70b36df8c2c33dd67fdfa9217 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_param_kind.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_param_ref.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_param_ref.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c67f52d099ebe3e96d4e5f9b4e4fa9d338ef899b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_param_ref.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_pod_group.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_pod_group.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..acbf4aca71dc42be07cc0c6db704335bab86c721 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_pod_group.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_pod_group_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_pod_group_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9a90f4b27287d079d9399737180a0a3aeab562cb Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_pod_group_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_server_storage_version.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_server_storage_version.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..83a6c0c9e3b49ea8380d893b6df20fc646115c00 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_server_storage_version.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ca45e0e145e8f7a8d3966382ac2427638902a367 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8b1886a3a63b22a23932e37faf9504c688febc2d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..21edabcd80339cc03d5603e8df9a658ae440e1bc Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f37124dc8ef93067a2c3953c6e3f474c1a7ae85a Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_storage_version_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_typed_local_object_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_typed_local_object_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..69453daebff28ca4f473376b179ac6db25e4c39c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_typed_local_object_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_variable.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_variable.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c08c1a4ac766606c32a873e6956e8b6699a4c43d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_variable.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c4ed8d0ecaff948e7d3ace1e250358c856cec176 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f30cf50315b29093e2d7be31e1ec050da4a126b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7b5cb05a09b76cc545f3514db618ec1ce9e1ee69 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha1_workload_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b6173d185a47563b7f3c90420a02e1949daf9b5a Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4b0a2a7271409b0d743795f9602cd082fab0728b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1ada9a98bb8738935dd392423ffbd4b9938b7dfd Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha2_lease_candidate_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..827cab2ff96d568c62d40f24f9a2f686b518282d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7cb9ce134380369fd1ae532caa93960b1eab96c9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9082ea94f677aa36da129eceec47d6ff46f4a7e1 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..77bd155cc358963681236183c37a47f7cdf010b2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1ff5ad521cf7061b84f1bb4fadb16d36557721a4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_rule_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_selector.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_selector.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..828a0a8148866a7ef7cc04c489d551bceae177c8 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1alpha3_device_taint_selector.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_allocated_device_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_allocated_device_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a616402464ddb9114a69b13d67988d9ea2e170f4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_allocated_device_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_allocation_result.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_allocation_result.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fe3f1203a5f20fa46e62d1a7cb0c004fec816fed Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_allocation_result.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_apply_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_apply_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5df7cde41ad95029dc37b22242cb43ee15b29530 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_apply_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_basic_device.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_basic_device.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6a162fd07b090e0b7dfbffa0a25c923801cb661e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_basic_device.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_request_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_request_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..357e7df36410ef29091a740c44f2be79afc41222 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_request_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_request_policy_range.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_request_policy_range.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..26861d6c2cd71f0921af89e1b4924d44954bd28c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_request_policy_range.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_requirements.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_requirements.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..73499c4766f370f268c54d9a9e19f44d115f25ef Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_capacity_requirements.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cel_device_selector.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cel_device_selector.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a460c9083435658ddedbff63c7c3c69c42857c4a Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cel_device_selector.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0ddf60f9e9f444e23c35bd3d8e06647858bc5fed Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..672099c1fecaaae1119e2fa9848a7bf291800b5c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d7900e37b32085e0959d3cb5b308c04b6d46beaa Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_cluster_trust_bundle_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_counter.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_counter.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9c90a7212f5a163798c788cb7b34d38989d54e30 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_counter.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_counter_set.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_counter_set.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b12438aaf813ff4d78873de3db725b26a8c99fb5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_counter_set.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..519ee98b3a2186e7ef6e751753118736ec633542 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_allocation_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_allocation_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dbf426dc16fbc66c210a897e7b7fa0ec3a25bf63 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_allocation_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_allocation_result.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_allocation_result.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2199609ec0f33c880bd2336299f7b76d4c37cd1f Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_allocation_result.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_attribute.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_attribute.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..37e8a2e24be16332521553e8483765e01985b828 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_attribute.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_capacity.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_capacity.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..536218559159c9d642350330ada37535ea46d7c2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_capacity.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_claim.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_claim.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a648e7f3925a6718a9621bf681551dfcbda6c885 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_claim.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_claim_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_claim_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..466ab5c511e885bdd144a840003baf961a090ea9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_claim_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dd1496cf88ffc2eb775b111ca933b1cd60478143 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..62c3da1954ff687b4a5f8e71216800e4b5f35a74 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d1d2e97ab209f634e49cd5617723105ff7a60bc1 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c7b0515d552b915163c96ff55cfd3c4e9faba5e4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_class_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_constraint.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_constraint.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c2ab1f10203b9f571ed096c863132fd614f81917 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_constraint.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_counter_consumption.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_counter_consumption.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a83d611a61b8e05c43fac9bb92920b2d6ae74191 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_counter_consumption.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..79c1509f97de47549a9c1df4c90373a2b2a27616 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_request_allocation_result.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_request_allocation_result.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b7054627796712b58d5fa207681f226709d8ee2b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_request_allocation_result.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_selector.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_selector.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e40bc188c0e87cbfff7f04ba076f29ffa3d8ec52 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_selector.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_sub_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_sub_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3f4c328d2be3594371beeee59a6ff9b8ce3de942 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_sub_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_taint.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_taint.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08168a62264884d84acf35b740af7a845251ef1e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_taint.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_toleration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_toleration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..beae590a09b2e04494baa9e473fed11d3e00b310 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_device_toleration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a5c0722e4a5864106df64ec16489f5f6d3f98fbf Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b49f7b11177e80d0be0979606c392b78d2ee15c4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..633f80e3558daa355b9d92fceb30c268e54db787 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_ip_address_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_json_patch.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_json_patch.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e0ccead8af3ff77b4879cbd3ec14df03d77b1246 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_json_patch.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c4be28372a6141cbd93202a4d6b0c6e8f0be58bf Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..11181258b3819ffcc16b7597512abb88b679bd28 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b7bd2fca346ae74d65d55773976d6c885a6a8485 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_lease_candidate_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_match_condition.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_match_condition.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..91a19fbd3d661d0b8396008519db4612c1fa2b57 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_match_condition.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_match_resources.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_match_resources.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0f6800f3ae2b01e2e6d2bdf768e28359234899e4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_match_resources.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..45b8d1fb6eb99319c23d2e2c33d177a9ef8b3b47 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..704ca4a17d9d82a35efea3e9ab16b54267996d52 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bbfae4420e5e1850fb4a7f541c5b2f9b5e26cd04 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..94713dbcfec87eae6da021dc7340b12606e61d95 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_binding_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a2af63ae8b6f72008ab7db51a9025f2de9ef6a3e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c23bfcae3dd7d15512e952193fac2a9c2ec204af Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutating_admission_policy_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutation.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutation.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..85bbb42f63b0ba816507c882c43eb34f94519fe9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_mutation.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_named_rule_with_operations.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_named_rule_with_operations.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c12442474d9ec590f6d60a83704ca90e926372e3 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_named_rule_with_operations.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_network_device_data.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_network_device_data.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..75e4afdb4327ad22502459e1417d9ebd7d01d6e4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_network_device_data.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_opaque_device_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_opaque_device_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..471944c5c2a02c4aeea9fe5113738bc51d686cb2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_opaque_device_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_param_kind.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_param_kind.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..574a31f8374541f8b40de700fe04a3d75d23a228 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_param_kind.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_param_ref.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_param_ref.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4c1e2d0517aea47c6f4e311d008654e6e19fd8be Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_param_ref.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_parent_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_parent_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bbe4f7435baf726a73a7cd736761e2fa4e442462 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_parent_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..53129ef115fcb31e8e63b1c98b358071a4284b4b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..747fc9b5930a23b3601affb412924b56dce0c82e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..032a3fe04d0604e36c425e4b61fb179b44e4cad2 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8fb18da21d455b7a3b7d8881f44c6c4d63e9a009 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_pod_certificate_request_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c66680b0fadfffe0c9a5e1f3f1f81a69a0cd124d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_consumer_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_consumer_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e24d968c5119f9db345d13a323dc52a7b57e161f Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_consumer_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..89d226da7b2202dbcf9dd27779cbba696ef41a13 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1df2e6c2d2d5ef430450e123c139527ee420e39c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d829069c40f355c7e3bff4c762493ee53ce772a0 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4cd73b8d0b69ca7bf867f59bc43304a3c78fd449 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0edd8ec635b6a19e88d721d68459da5085597dcc Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4223a49e6e4c103620bb6d04856df9acc82d911e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_claim_template_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_pool.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_pool.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ab2e06028581b4c1dc56253e01192d934dd34481 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_pool.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f957238e8a0c93525d05288637c545c991d828f5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e34562cd83afcdb25605af538e2707c6df07c1d3 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f0121da6f6149fca6424525d44e2ad7ef12d7d59 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_resource_slice_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b13e419d4ae5d6d8bd9bbe16c1f87365559d1b12 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9337dc6d6a91bc7bcea89fbb60aa34dcafb93cc9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0c968f53f2d2ac93db0d3b8435d4274adc55f880 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e2bf157026daf266213975e20632bf8746a37245 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_service_cidr_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ee5f9935e4bf952ec0551ff1fb8bc828b4e97b89 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3b2c509538e2ea54a6343aef300ca932ef7c102f Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..012bb6ff83a78df4deb43c066e44884bf3a554da Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c9cdb36bc620ca0ffe32dbb98d5cb228e0ea4eb4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_storage_version_migration_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_variable.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_variable.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8de55b6f9c1597cd53b1238f3e2fe0ff867434b6 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_variable.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_volume_attributes_class.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_volume_attributes_class.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3e9529db9e02cfa45fe850f7584765492b21ced8 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_volume_attributes_class.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_volume_attributes_class_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_volume_attributes_class_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1200a1f89ded635ff3e1f326178e7e502cf186ca Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta1_volume_attributes_class_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_allocated_device_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_allocated_device_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..34ed5e507a85071b645922df22734f472ed754ed Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_allocated_device_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_allocation_result.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_allocation_result.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..00cf69a7cdfba76a6d83936cd4b02dbcdae7340a Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_allocation_result.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_request_policy.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_request_policy.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9f20b31af227bb35a573797a5f404bae736ffa20 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_request_policy.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_request_policy_range.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_request_policy_range.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7b1b61a3f024e03eeeb2097865c78232f4b872b9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_request_policy_range.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_requirements.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_requirements.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..adc5161b364d0ebf622057eb8f3b13aa5ca9b96f Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_capacity_requirements.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_cel_device_selector.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_cel_device_selector.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9cf4ee001b354e001e8afe430971448ccd12344c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_cel_device_selector.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_counter.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_counter.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..20a7e15e663b71981b528f352c4d020922359024 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_counter.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_counter_set.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_counter_set.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..aeaaab147be872a1b6350cb792d01032bb099bab Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_counter_set.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e8b777c9875386e4c25818b1021c6f8d9ab5654c Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_allocation_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_allocation_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d5f90b88dc279898e341946dcc8f5123da40a8d5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_allocation_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_allocation_result.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_allocation_result.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5ae15f0de3593b17d8a486f28bb2377533de79bc Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_allocation_result.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_attribute.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_attribute.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dc7547f6e91ec49dc00aa423f13e2eb8bac72966 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_attribute.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_capacity.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_capacity.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c98a465bb7b37e47616f0bd067d4178b0263805d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_capacity.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_claim.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_claim.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..71c8c80209345e247f80542fffd90fba2eedebe8 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_claim.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_claim_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_claim_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..eb49c9bfd6510609bd72b761340e2f7cff1efcd4 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_claim_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ce17dd253016a2927b21801d44f035e53101610d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4ba7dd42734d45730034400ab8e187bd5a3c8f33 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0bafbc4f732a1339307cd15fa535f8928f4a699b Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cb041c40ae49bfdc2ceb0131e93bcddb25fbe980 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_class_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_constraint.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_constraint.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..89f9d084c68614e28e60048e4511459ae47102dc Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_constraint.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_counter_consumption.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_counter_consumption.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..915d3700103c2fd8d971a507c386aa66ece5bb1d Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_counter_consumption.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bae8615972baeb6501e4e19cfc7572f561a82828 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_request_allocation_result.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_request_allocation_result.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..972ab7b1f5411bce56ed9d1d1a7247d84709fede Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_request_allocation_result.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_selector.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_selector.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3b6dd1ce22aca448ae2299a7e1561c00129d73e7 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_selector.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_sub_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_sub_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..80ffac04127ba3737f61487029d45d2297615dca Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_sub_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_taint.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_taint.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b07a729f3330f78acb6754fa8eb264fc61805042 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_taint.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_toleration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_toleration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..430157d9207432dec2f57bc94c45620d2f9f7fa8 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_device_toleration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_exact_device_request.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_exact_device_request.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f755294034f4d17c6c6ba5ec547238e58110b002 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_exact_device_request.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_network_device_data.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_network_device_data.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..28073f8181e33ad10c104f48a9d4a90a472ec14e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_network_device_data.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_opaque_device_configuration.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_opaque_device_configuration.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..145b5122a6a335c74822663d04bd61aa7dae9e6e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_opaque_device_configuration.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f7a3ec268626d915dfe159700cd33c54d1650384 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_consumer_reference.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_consumer_reference.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b2109fea62f47951a9b136429851bafb4e8119b9 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_consumer_reference.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b7461609f9e6ecae7fd2f4f9962f1e0b5c6762c6 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ca0c7c2ee342389d5c5db73885a908572356ba01 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_status.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_status.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f5b224afe63f7a9f6e62659b05ac6fdb5be5aa60 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_status.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bdf1f5e4a64380e4077ca05bfbe51b20ad553f04 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ce16807c28036418493770ad5a8db571f23742ee Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..56243dda4a159544f3410ba3d7f345c2140693a5 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_claim_template_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_pool.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_pool.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..471f5398e6ccaeb77e09b193ddf62ce300424f93 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_pool.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1a6190f1b8ee2e61d73c261e1b86d0ec46e98d63 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice_list.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice_list.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c1ee1558920b6c0a8b9c455265edf09a6850ea92 Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice_list.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice_spec.cpython-311.pyc b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice_spec.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2a8f0ce00686bcec162d2788b67474d6731cd54e Binary files /dev/null and b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/__pycache__/v1beta2_resource_slice_spec.cpython-311.pyc differ diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/apiextensions_v1_webhook_client_config.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/apiextensions_v1_webhook_client_config.py new file mode 100644 index 0000000000000000000000000000000000000000..2cc41eeef127f19460c39c0f24893859e8d1b96e --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/apiextensions_v1_webhook_client_config.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class ApiextensionsV1WebhookClientConfig(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'ca_bundle': 'str', + 'service': 'ApiextensionsV1ServiceReference', + 'url': 'str' + } + + attribute_map = { + 'ca_bundle': 'caBundle', + 'service': 'service', + 'url': 'url' + } + + def __init__(self, ca_bundle=None, service=None, url=None, local_vars_configuration=None): # noqa: E501 + """ApiextensionsV1WebhookClientConfig - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._ca_bundle = None + self._service = None + self._url = None + self.discriminator = None + + if ca_bundle is not None: + self.ca_bundle = ca_bundle + if service is not None: + self.service = service + if url is not None: + self.url = url + + @property + def ca_bundle(self): + """Gets the ca_bundle of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + + caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501 + + :return: The ca_bundle of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + :rtype: str + """ + return self._ca_bundle + + @ca_bundle.setter + def ca_bundle(self, ca_bundle): + """Sets the ca_bundle of this ApiextensionsV1WebhookClientConfig. + + caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501 + + :param ca_bundle: The ca_bundle of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + :type: str + """ + if (self.local_vars_configuration.client_side_validation and + ca_bundle is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', ca_bundle)): # noqa: E501 + raise ValueError(r"Invalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._ca_bundle = ca_bundle + + @property + def service(self): + """Gets the service of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + + + :return: The service of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + :rtype: ApiextensionsV1ServiceReference + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this ApiextensionsV1WebhookClientConfig. + + + :param service: The service of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + :type: ApiextensionsV1ServiceReference + """ + + self._service = service + + @property + def url(self): + """Gets the url of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + + url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. # noqa: E501 + + :return: The url of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + :rtype: str + """ + return self._url + + @url.setter + def url(self, url): + """Sets the url of this ApiextensionsV1WebhookClientConfig. + + url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. # noqa: E501 + + :param url: The url of this ApiextensionsV1WebhookClientConfig. # noqa: E501 + :type: str + """ + + self._url = url + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, ApiextensionsV1WebhookClientConfig): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ApiextensionsV1WebhookClientConfig): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/apiregistration_v1_service_reference.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/apiregistration_v1_service_reference.py new file mode 100644 index 0000000000000000000000000000000000000000..a287761a965fa6535d859bd439ce2815b37cb37d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/apiregistration_v1_service_reference.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class ApiregistrationV1ServiceReference(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'namespace': 'str', + 'port': 'int' + } + + attribute_map = { + 'name': 'name', + 'namespace': 'namespace', + 'port': 'port' + } + + def __init__(self, name=None, namespace=None, port=None, local_vars_configuration=None): # noqa: E501 + """ApiregistrationV1ServiceReference - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._namespace = None + self._port = None + self.discriminator = None + + if name is not None: + self.name = name + if namespace is not None: + self.namespace = namespace + if port is not None: + self.port = port + + @property + def name(self): + """Gets the name of this ApiregistrationV1ServiceReference. # noqa: E501 + + Name is the name of the service # noqa: E501 + + :return: The name of this ApiregistrationV1ServiceReference. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this ApiregistrationV1ServiceReference. + + Name is the name of the service # noqa: E501 + + :param name: The name of this ApiregistrationV1ServiceReference. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def namespace(self): + """Gets the namespace of this ApiregistrationV1ServiceReference. # noqa: E501 + + Namespace is the namespace of the service # noqa: E501 + + :return: The namespace of this ApiregistrationV1ServiceReference. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this ApiregistrationV1ServiceReference. + + Namespace is the namespace of the service # noqa: E501 + + :param namespace: The namespace of this ApiregistrationV1ServiceReference. # noqa: E501 + :type: str + """ + + self._namespace = namespace + + @property + def port(self): + """Gets the port of this ApiregistrationV1ServiceReference. # noqa: E501 + + If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). # noqa: E501 + + :return: The port of this ApiregistrationV1ServiceReference. # noqa: E501 + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this ApiregistrationV1ServiceReference. + + If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). # noqa: E501 + + :param port: The port of this ApiregistrationV1ServiceReference. # noqa: E501 + :type: int + """ + + self._port = port + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, ApiregistrationV1ServiceReference): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ApiregistrationV1ServiceReference): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/authentication_v1_token_request.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/authentication_v1_token_request.py new file mode 100644 index 0000000000000000000000000000000000000000..09ac75290584c256ac75e338c17ccb3c00681f9b --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/authentication_v1_token_request.py @@ -0,0 +1,229 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class AuthenticationV1TokenRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1TokenRequestSpec', + 'status': 'V1TokenRequestStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """AuthenticationV1TokenRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this AuthenticationV1TokenRequest. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this AuthenticationV1TokenRequest. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this AuthenticationV1TokenRequest. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this AuthenticationV1TokenRequest. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this AuthenticationV1TokenRequest. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this AuthenticationV1TokenRequest. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this AuthenticationV1TokenRequest. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this AuthenticationV1TokenRequest. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this AuthenticationV1TokenRequest. # noqa: E501 + + + :return: The metadata of this AuthenticationV1TokenRequest. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this AuthenticationV1TokenRequest. + + + :param metadata: The metadata of this AuthenticationV1TokenRequest. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this AuthenticationV1TokenRequest. # noqa: E501 + + + :return: The spec of this AuthenticationV1TokenRequest. # noqa: E501 + :rtype: V1TokenRequestSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this AuthenticationV1TokenRequest. + + + :param spec: The spec of this AuthenticationV1TokenRequest. # noqa: E501 + :type: V1TokenRequestSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + @property + def status(self): + """Gets the status of this AuthenticationV1TokenRequest. # noqa: E501 + + + :return: The status of this AuthenticationV1TokenRequest. # noqa: E501 + :rtype: V1TokenRequestStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this AuthenticationV1TokenRequest. + + + :param status: The status of this AuthenticationV1TokenRequest. # noqa: E501 + :type: V1TokenRequestStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, AuthenticationV1TokenRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, AuthenticationV1TokenRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_endpoint_port.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_endpoint_port.py new file mode 100644 index 0000000000000000000000000000000000000000..2923de16041777a61d16ed483ffacf21a653bdcc --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_endpoint_port.py @@ -0,0 +1,207 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class CoreV1EndpointPort(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'app_protocol': 'str', + 'name': 'str', + 'port': 'int', + 'protocol': 'str' + } + + attribute_map = { + 'app_protocol': 'appProtocol', + 'name': 'name', + 'port': 'port', + 'protocol': 'protocol' + } + + def __init__(self, app_protocol=None, name=None, port=None, protocol=None, local_vars_configuration=None): # noqa: E501 + """CoreV1EndpointPort - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._app_protocol = None + self._name = None + self._port = None + self._protocol = None + self.discriminator = None + + if app_protocol is not None: + self.app_protocol = app_protocol + if name is not None: + self.name = name + self.port = port + if protocol is not None: + self.protocol = protocol + + @property + def app_protocol(self): + """Gets the app_protocol of this CoreV1EndpointPort. # noqa: E501 + + The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. # noqa: E501 + + :return: The app_protocol of this CoreV1EndpointPort. # noqa: E501 + :rtype: str + """ + return self._app_protocol + + @app_protocol.setter + def app_protocol(self, app_protocol): + """Sets the app_protocol of this CoreV1EndpointPort. + + The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. # noqa: E501 + + :param app_protocol: The app_protocol of this CoreV1EndpointPort. # noqa: E501 + :type: str + """ + + self._app_protocol = app_protocol + + @property + def name(self): + """Gets the name of this CoreV1EndpointPort. # noqa: E501 + + The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. # noqa: E501 + + :return: The name of this CoreV1EndpointPort. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreV1EndpointPort. + + The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. # noqa: E501 + + :param name: The name of this CoreV1EndpointPort. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def port(self): + """Gets the port of this CoreV1EndpointPort. # noqa: E501 + + The port number of the endpoint. # noqa: E501 + + :return: The port of this CoreV1EndpointPort. # noqa: E501 + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this CoreV1EndpointPort. + + The port number of the endpoint. # noqa: E501 + + :param port: The port of this CoreV1EndpointPort. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and port is None: # noqa: E501 + raise ValueError("Invalid value for `port`, must not be `None`") # noqa: E501 + + self._port = port + + @property + def protocol(self): + """Gets the protocol of this CoreV1EndpointPort. # noqa: E501 + + The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501 + + :return: The protocol of this CoreV1EndpointPort. # noqa: E501 + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """Sets the protocol of this CoreV1EndpointPort. + + The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501 + + :param protocol: The protocol of this CoreV1EndpointPort. # noqa: E501 + :type: str + """ + + self._protocol = protocol + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, CoreV1EndpointPort): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CoreV1EndpointPort): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event.py new file mode 100644 index 0000000000000000000000000000000000000000..3630156f859f4ba36e638736949ee843c5410ce8 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event.py @@ -0,0 +1,562 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class CoreV1Event(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'action': 'str', + 'api_version': 'str', + 'count': 'int', + 'event_time': 'datetime', + 'first_timestamp': 'datetime', + 'involved_object': 'V1ObjectReference', + 'kind': 'str', + 'last_timestamp': 'datetime', + 'message': 'str', + 'metadata': 'V1ObjectMeta', + 'reason': 'str', + 'related': 'V1ObjectReference', + 'reporting_component': 'str', + 'reporting_instance': 'str', + 'series': 'CoreV1EventSeries', + 'source': 'V1EventSource', + 'type': 'str' + } + + attribute_map = { + 'action': 'action', + 'api_version': 'apiVersion', + 'count': 'count', + 'event_time': 'eventTime', + 'first_timestamp': 'firstTimestamp', + 'involved_object': 'involvedObject', + 'kind': 'kind', + 'last_timestamp': 'lastTimestamp', + 'message': 'message', + 'metadata': 'metadata', + 'reason': 'reason', + 'related': 'related', + 'reporting_component': 'reportingComponent', + 'reporting_instance': 'reportingInstance', + 'series': 'series', + 'source': 'source', + 'type': 'type' + } + + def __init__(self, action=None, api_version=None, count=None, event_time=None, first_timestamp=None, involved_object=None, kind=None, last_timestamp=None, message=None, metadata=None, reason=None, related=None, reporting_component=None, reporting_instance=None, series=None, source=None, type=None, local_vars_configuration=None): # noqa: E501 + """CoreV1Event - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._action = None + self._api_version = None + self._count = None + self._event_time = None + self._first_timestamp = None + self._involved_object = None + self._kind = None + self._last_timestamp = None + self._message = None + self._metadata = None + self._reason = None + self._related = None + self._reporting_component = None + self._reporting_instance = None + self._series = None + self._source = None + self._type = None + self.discriminator = None + + if action is not None: + self.action = action + if api_version is not None: + self.api_version = api_version + if count is not None: + self.count = count + if event_time is not None: + self.event_time = event_time + if first_timestamp is not None: + self.first_timestamp = first_timestamp + self.involved_object = involved_object + if kind is not None: + self.kind = kind + if last_timestamp is not None: + self.last_timestamp = last_timestamp + if message is not None: + self.message = message + self.metadata = metadata + if reason is not None: + self.reason = reason + if related is not None: + self.related = related + if reporting_component is not None: + self.reporting_component = reporting_component + if reporting_instance is not None: + self.reporting_instance = reporting_instance + if series is not None: + self.series = series + if source is not None: + self.source = source + if type is not None: + self.type = type + + @property + def action(self): + """Gets the action of this CoreV1Event. # noqa: E501 + + What action was taken/failed regarding to the Regarding object. # noqa: E501 + + :return: The action of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this CoreV1Event. + + What action was taken/failed regarding to the Regarding object. # noqa: E501 + + :param action: The action of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._action = action + + @property + def api_version(self): + """Gets the api_version of this CoreV1Event. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this CoreV1Event. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def count(self): + """Gets the count of this CoreV1Event. # noqa: E501 + + The number of times this event has occurred. # noqa: E501 + + :return: The count of this CoreV1Event. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this CoreV1Event. + + The number of times this event has occurred. # noqa: E501 + + :param count: The count of this CoreV1Event. # noqa: E501 + :type: int + """ + + self._count = count + + @property + def event_time(self): + """Gets the event_time of this CoreV1Event. # noqa: E501 + + Time when this Event was first observed. # noqa: E501 + + :return: The event_time of this CoreV1Event. # noqa: E501 + :rtype: datetime + """ + return self._event_time + + @event_time.setter + def event_time(self, event_time): + """Sets the event_time of this CoreV1Event. + + Time when this Event was first observed. # noqa: E501 + + :param event_time: The event_time of this CoreV1Event. # noqa: E501 + :type: datetime + """ + + self._event_time = event_time + + @property + def first_timestamp(self): + """Gets the first_timestamp of this CoreV1Event. # noqa: E501 + + The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) # noqa: E501 + + :return: The first_timestamp of this CoreV1Event. # noqa: E501 + :rtype: datetime + """ + return self._first_timestamp + + @first_timestamp.setter + def first_timestamp(self, first_timestamp): + """Sets the first_timestamp of this CoreV1Event. + + The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) # noqa: E501 + + :param first_timestamp: The first_timestamp of this CoreV1Event. # noqa: E501 + :type: datetime + """ + + self._first_timestamp = first_timestamp + + @property + def involved_object(self): + """Gets the involved_object of this CoreV1Event. # noqa: E501 + + + :return: The involved_object of this CoreV1Event. # noqa: E501 + :rtype: V1ObjectReference + """ + return self._involved_object + + @involved_object.setter + def involved_object(self, involved_object): + """Sets the involved_object of this CoreV1Event. + + + :param involved_object: The involved_object of this CoreV1Event. # noqa: E501 + :type: V1ObjectReference + """ + if self.local_vars_configuration.client_side_validation and involved_object is None: # noqa: E501 + raise ValueError("Invalid value for `involved_object`, must not be `None`") # noqa: E501 + + self._involved_object = involved_object + + @property + def kind(self): + """Gets the kind of this CoreV1Event. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this CoreV1Event. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def last_timestamp(self): + """Gets the last_timestamp of this CoreV1Event. # noqa: E501 + + The time at which the most recent occurrence of this event was recorded. # noqa: E501 + + :return: The last_timestamp of this CoreV1Event. # noqa: E501 + :rtype: datetime + """ + return self._last_timestamp + + @last_timestamp.setter + def last_timestamp(self, last_timestamp): + """Sets the last_timestamp of this CoreV1Event. + + The time at which the most recent occurrence of this event was recorded. # noqa: E501 + + :param last_timestamp: The last_timestamp of this CoreV1Event. # noqa: E501 + :type: datetime + """ + + self._last_timestamp = last_timestamp + + @property + def message(self): + """Gets the message of this CoreV1Event. # noqa: E501 + + A human-readable description of the status of this operation. # noqa: E501 + + :return: The message of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this CoreV1Event. + + A human-readable description of the status of this operation. # noqa: E501 + + :param message: The message of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def metadata(self): + """Gets the metadata of this CoreV1Event. # noqa: E501 + + + :return: The metadata of this CoreV1Event. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreV1Event. + + + :param metadata: The metadata of this CoreV1Event. # noqa: E501 + :type: V1ObjectMeta + """ + if self.local_vars_configuration.client_side_validation and metadata is None: # noqa: E501 + raise ValueError("Invalid value for `metadata`, must not be `None`") # noqa: E501 + + self._metadata = metadata + + @property + def reason(self): + """Gets the reason of this CoreV1Event. # noqa: E501 + + This should be a short, machine understandable string that gives the reason for the transition into the object's current status. # noqa: E501 + + :return: The reason of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this CoreV1Event. + + This should be a short, machine understandable string that gives the reason for the transition into the object's current status. # noqa: E501 + + :param reason: The reason of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def related(self): + """Gets the related of this CoreV1Event. # noqa: E501 + + + :return: The related of this CoreV1Event. # noqa: E501 + :rtype: V1ObjectReference + """ + return self._related + + @related.setter + def related(self, related): + """Sets the related of this CoreV1Event. + + + :param related: The related of this CoreV1Event. # noqa: E501 + :type: V1ObjectReference + """ + + self._related = related + + @property + def reporting_component(self): + """Gets the reporting_component of this CoreV1Event. # noqa: E501 + + Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. # noqa: E501 + + :return: The reporting_component of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._reporting_component + + @reporting_component.setter + def reporting_component(self, reporting_component): + """Sets the reporting_component of this CoreV1Event. + + Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. # noqa: E501 + + :param reporting_component: The reporting_component of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._reporting_component = reporting_component + + @property + def reporting_instance(self): + """Gets the reporting_instance of this CoreV1Event. # noqa: E501 + + ID of the controller instance, e.g. `kubelet-xyzf`. # noqa: E501 + + :return: The reporting_instance of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._reporting_instance + + @reporting_instance.setter + def reporting_instance(self, reporting_instance): + """Sets the reporting_instance of this CoreV1Event. + + ID of the controller instance, e.g. `kubelet-xyzf`. # noqa: E501 + + :param reporting_instance: The reporting_instance of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._reporting_instance = reporting_instance + + @property + def series(self): + """Gets the series of this CoreV1Event. # noqa: E501 + + + :return: The series of this CoreV1Event. # noqa: E501 + :rtype: CoreV1EventSeries + """ + return self._series + + @series.setter + def series(self, series): + """Sets the series of this CoreV1Event. + + + :param series: The series of this CoreV1Event. # noqa: E501 + :type: CoreV1EventSeries + """ + + self._series = series + + @property + def source(self): + """Gets the source of this CoreV1Event. # noqa: E501 + + + :return: The source of this CoreV1Event. # noqa: E501 + :rtype: V1EventSource + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this CoreV1Event. + + + :param source: The source of this CoreV1Event. # noqa: E501 + :type: V1EventSource + """ + + self._source = source + + @property + def type(self): + """Gets the type of this CoreV1Event. # noqa: E501 + + Type of this event (Normal, Warning), new types could be added in the future # noqa: E501 + + :return: The type of this CoreV1Event. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this CoreV1Event. + + Type of this event (Normal, Warning), new types could be added in the future # noqa: E501 + + :param type: The type of this CoreV1Event. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, CoreV1Event): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CoreV1Event): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event_list.py new file mode 100644 index 0000000000000000000000000000000000000000..dcbb1452f64a12d353da2523ec371b42af7c4cca --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class CoreV1EventList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[CoreV1Event]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """CoreV1EventList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this CoreV1EventList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this CoreV1EventList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this CoreV1EventList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this CoreV1EventList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this CoreV1EventList. # noqa: E501 + + List of events # noqa: E501 + + :return: The items of this CoreV1EventList. # noqa: E501 + :rtype: list[CoreV1Event] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this CoreV1EventList. + + List of events # noqa: E501 + + :param items: The items of this CoreV1EventList. # noqa: E501 + :type: list[CoreV1Event] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this CoreV1EventList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this CoreV1EventList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this CoreV1EventList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this CoreV1EventList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this CoreV1EventList. # noqa: E501 + + + :return: The metadata of this CoreV1EventList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this CoreV1EventList. + + + :param metadata: The metadata of this CoreV1EventList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, CoreV1EventList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CoreV1EventList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event_series.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event_series.py new file mode 100644 index 0000000000000000000000000000000000000000..9a82c593572d9ef5d23ecddf76d7165b4bde265b --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_event_series.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class CoreV1EventSeries(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'count': 'int', + 'last_observed_time': 'datetime' + } + + attribute_map = { + 'count': 'count', + 'last_observed_time': 'lastObservedTime' + } + + def __init__(self, count=None, last_observed_time=None, local_vars_configuration=None): # noqa: E501 + """CoreV1EventSeries - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._count = None + self._last_observed_time = None + self.discriminator = None + + if count is not None: + self.count = count + if last_observed_time is not None: + self.last_observed_time = last_observed_time + + @property + def count(self): + """Gets the count of this CoreV1EventSeries. # noqa: E501 + + Number of occurrences in this series up to the last heartbeat time # noqa: E501 + + :return: The count of this CoreV1EventSeries. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this CoreV1EventSeries. + + Number of occurrences in this series up to the last heartbeat time # noqa: E501 + + :param count: The count of this CoreV1EventSeries. # noqa: E501 + :type: int + """ + + self._count = count + + @property + def last_observed_time(self): + """Gets the last_observed_time of this CoreV1EventSeries. # noqa: E501 + + Time of the last occurrence observed # noqa: E501 + + :return: The last_observed_time of this CoreV1EventSeries. # noqa: E501 + :rtype: datetime + """ + return self._last_observed_time + + @last_observed_time.setter + def last_observed_time(self, last_observed_time): + """Sets the last_observed_time of this CoreV1EventSeries. + + Time of the last occurrence observed # noqa: E501 + + :param last_observed_time: The last_observed_time of this CoreV1EventSeries. # noqa: E501 + :type: datetime + """ + + self._last_observed_time = last_observed_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, CoreV1EventSeries): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CoreV1EventSeries): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_resource_claim.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_resource_claim.py new file mode 100644 index 0000000000000000000000000000000000000000..45cf94b016c7a4a856a0934f124d0d3d9b58ad1e --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/core_v1_resource_claim.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class CoreV1ResourceClaim(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'request': 'str' + } + + attribute_map = { + 'name': 'name', + 'request': 'request' + } + + def __init__(self, name=None, request=None, local_vars_configuration=None): # noqa: E501 + """CoreV1ResourceClaim - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._request = None + self.discriminator = None + + self.name = name + if request is not None: + self.request = request + + @property + def name(self): + """Gets the name of this CoreV1ResourceClaim. # noqa: E501 + + Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. # noqa: E501 + + :return: The name of this CoreV1ResourceClaim. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this CoreV1ResourceClaim. + + Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container. # noqa: E501 + + :param name: The name of this CoreV1ResourceClaim. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def request(self): + """Gets the request of this CoreV1ResourceClaim. # noqa: E501 + + Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. # noqa: E501 + + :return: The request of this CoreV1ResourceClaim. # noqa: E501 + :rtype: str + """ + return self._request + + @request.setter + def request(self, request): + """Sets the request of this CoreV1ResourceClaim. + + Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request. # noqa: E501 + + :param request: The request of this CoreV1ResourceClaim. # noqa: E501 + :type: str + """ + + self._request = request + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, CoreV1ResourceClaim): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, CoreV1ResourceClaim): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/discovery_v1_endpoint_port.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/discovery_v1_endpoint_port.py new file mode 100644 index 0000000000000000000000000000000000000000..26b63c74b5510b4e3c0865d566aa7efed7a81489 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/discovery_v1_endpoint_port.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class DiscoveryV1EndpointPort(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'app_protocol': 'str', + 'name': 'str', + 'port': 'int', + 'protocol': 'str' + } + + attribute_map = { + 'app_protocol': 'appProtocol', + 'name': 'name', + 'port': 'port', + 'protocol': 'protocol' + } + + def __init__(self, app_protocol=None, name=None, port=None, protocol=None, local_vars_configuration=None): # noqa: E501 + """DiscoveryV1EndpointPort - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._app_protocol = None + self._name = None + self._port = None + self._protocol = None + self.discriminator = None + + if app_protocol is not None: + self.app_protocol = app_protocol + if name is not None: + self.name = name + if port is not None: + self.port = port + if protocol is not None: + self.protocol = protocol + + @property + def app_protocol(self): + """Gets the app_protocol of this DiscoveryV1EndpointPort. # noqa: E501 + + The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. # noqa: E501 + + :return: The app_protocol of this DiscoveryV1EndpointPort. # noqa: E501 + :rtype: str + """ + return self._app_protocol + + @app_protocol.setter + def app_protocol(self, app_protocol): + """Sets the app_protocol of this DiscoveryV1EndpointPort. + + The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. # noqa: E501 + + :param app_protocol: The app_protocol of this DiscoveryV1EndpointPort. # noqa: E501 + :type: str + """ + + self._app_protocol = app_protocol + + @property + def name(self): + """Gets the name of this DiscoveryV1EndpointPort. # noqa: E501 + + name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. # noqa: E501 + + :return: The name of this DiscoveryV1EndpointPort. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this DiscoveryV1EndpointPort. + + name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. # noqa: E501 + + :param name: The name of this DiscoveryV1EndpointPort. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def port(self): + """Gets the port of this DiscoveryV1EndpointPort. # noqa: E501 + + port represents the port number of the endpoint. If the EndpointSlice is derived from a Kubernetes service, this must be set to the service's target port. EndpointSlices used for other purposes may have a nil port. # noqa: E501 + + :return: The port of this DiscoveryV1EndpointPort. # noqa: E501 + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this DiscoveryV1EndpointPort. + + port represents the port number of the endpoint. If the EndpointSlice is derived from a Kubernetes service, this must be set to the service's target port. EndpointSlices used for other purposes may have a nil port. # noqa: E501 + + :param port: The port of this DiscoveryV1EndpointPort. # noqa: E501 + :type: int + """ + + self._port = port + + @property + def protocol(self): + """Gets the protocol of this DiscoveryV1EndpointPort. # noqa: E501 + + protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501 + + :return: The protocol of this DiscoveryV1EndpointPort. # noqa: E501 + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """Sets the protocol of this DiscoveryV1EndpointPort. + + protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501 + + :param protocol: The protocol of this DiscoveryV1EndpointPort. # noqa: E501 + :type: str + """ + + self._protocol = protocol + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, DiscoveryV1EndpointPort): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, DiscoveryV1EndpointPort): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event.py new file mode 100644 index 0000000000000000000000000000000000000000..3eb3334ce260f455e1d16293bb35f4144fd15d1f --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event.py @@ -0,0 +1,561 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class EventsV1Event(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'action': 'str', + 'api_version': 'str', + 'deprecated_count': 'int', + 'deprecated_first_timestamp': 'datetime', + 'deprecated_last_timestamp': 'datetime', + 'deprecated_source': 'V1EventSource', + 'event_time': 'datetime', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'note': 'str', + 'reason': 'str', + 'regarding': 'V1ObjectReference', + 'related': 'V1ObjectReference', + 'reporting_controller': 'str', + 'reporting_instance': 'str', + 'series': 'EventsV1EventSeries', + 'type': 'str' + } + + attribute_map = { + 'action': 'action', + 'api_version': 'apiVersion', + 'deprecated_count': 'deprecatedCount', + 'deprecated_first_timestamp': 'deprecatedFirstTimestamp', + 'deprecated_last_timestamp': 'deprecatedLastTimestamp', + 'deprecated_source': 'deprecatedSource', + 'event_time': 'eventTime', + 'kind': 'kind', + 'metadata': 'metadata', + 'note': 'note', + 'reason': 'reason', + 'regarding': 'regarding', + 'related': 'related', + 'reporting_controller': 'reportingController', + 'reporting_instance': 'reportingInstance', + 'series': 'series', + 'type': 'type' + } + + def __init__(self, action=None, api_version=None, deprecated_count=None, deprecated_first_timestamp=None, deprecated_last_timestamp=None, deprecated_source=None, event_time=None, kind=None, metadata=None, note=None, reason=None, regarding=None, related=None, reporting_controller=None, reporting_instance=None, series=None, type=None, local_vars_configuration=None): # noqa: E501 + """EventsV1Event - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._action = None + self._api_version = None + self._deprecated_count = None + self._deprecated_first_timestamp = None + self._deprecated_last_timestamp = None + self._deprecated_source = None + self._event_time = None + self._kind = None + self._metadata = None + self._note = None + self._reason = None + self._regarding = None + self._related = None + self._reporting_controller = None + self._reporting_instance = None + self._series = None + self._type = None + self.discriminator = None + + if action is not None: + self.action = action + if api_version is not None: + self.api_version = api_version + if deprecated_count is not None: + self.deprecated_count = deprecated_count + if deprecated_first_timestamp is not None: + self.deprecated_first_timestamp = deprecated_first_timestamp + if deprecated_last_timestamp is not None: + self.deprecated_last_timestamp = deprecated_last_timestamp + if deprecated_source is not None: + self.deprecated_source = deprecated_source + self.event_time = event_time + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if note is not None: + self.note = note + if reason is not None: + self.reason = reason + if regarding is not None: + self.regarding = regarding + if related is not None: + self.related = related + if reporting_controller is not None: + self.reporting_controller = reporting_controller + if reporting_instance is not None: + self.reporting_instance = reporting_instance + if series is not None: + self.series = series + if type is not None: + self.type = type + + @property + def action(self): + """Gets the action of this EventsV1Event. # noqa: E501 + + action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501 + + :return: The action of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this EventsV1Event. + + action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501 + + :param action: The action of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._action = action + + @property + def api_version(self): + """Gets the api_version of this EventsV1Event. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this EventsV1Event. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def deprecated_count(self): + """Gets the deprecated_count of this EventsV1Event. # noqa: E501 + + deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501 + + :return: The deprecated_count of this EventsV1Event. # noqa: E501 + :rtype: int + """ + return self._deprecated_count + + @deprecated_count.setter + def deprecated_count(self, deprecated_count): + """Sets the deprecated_count of this EventsV1Event. + + deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501 + + :param deprecated_count: The deprecated_count of this EventsV1Event. # noqa: E501 + :type: int + """ + + self._deprecated_count = deprecated_count + + @property + def deprecated_first_timestamp(self): + """Gets the deprecated_first_timestamp of this EventsV1Event. # noqa: E501 + + deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501 + + :return: The deprecated_first_timestamp of this EventsV1Event. # noqa: E501 + :rtype: datetime + """ + return self._deprecated_first_timestamp + + @deprecated_first_timestamp.setter + def deprecated_first_timestamp(self, deprecated_first_timestamp): + """Sets the deprecated_first_timestamp of this EventsV1Event. + + deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501 + + :param deprecated_first_timestamp: The deprecated_first_timestamp of this EventsV1Event. # noqa: E501 + :type: datetime + """ + + self._deprecated_first_timestamp = deprecated_first_timestamp + + @property + def deprecated_last_timestamp(self): + """Gets the deprecated_last_timestamp of this EventsV1Event. # noqa: E501 + + deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501 + + :return: The deprecated_last_timestamp of this EventsV1Event. # noqa: E501 + :rtype: datetime + """ + return self._deprecated_last_timestamp + + @deprecated_last_timestamp.setter + def deprecated_last_timestamp(self, deprecated_last_timestamp): + """Sets the deprecated_last_timestamp of this EventsV1Event. + + deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. # noqa: E501 + + :param deprecated_last_timestamp: The deprecated_last_timestamp of this EventsV1Event. # noqa: E501 + :type: datetime + """ + + self._deprecated_last_timestamp = deprecated_last_timestamp + + @property + def deprecated_source(self): + """Gets the deprecated_source of this EventsV1Event. # noqa: E501 + + + :return: The deprecated_source of this EventsV1Event. # noqa: E501 + :rtype: V1EventSource + """ + return self._deprecated_source + + @deprecated_source.setter + def deprecated_source(self, deprecated_source): + """Sets the deprecated_source of this EventsV1Event. + + + :param deprecated_source: The deprecated_source of this EventsV1Event. # noqa: E501 + :type: V1EventSource + """ + + self._deprecated_source = deprecated_source + + @property + def event_time(self): + """Gets the event_time of this EventsV1Event. # noqa: E501 + + eventTime is the time when this Event was first observed. It is required. # noqa: E501 + + :return: The event_time of this EventsV1Event. # noqa: E501 + :rtype: datetime + """ + return self._event_time + + @event_time.setter + def event_time(self, event_time): + """Sets the event_time of this EventsV1Event. + + eventTime is the time when this Event was first observed. It is required. # noqa: E501 + + :param event_time: The event_time of this EventsV1Event. # noqa: E501 + :type: datetime + """ + if self.local_vars_configuration.client_side_validation and event_time is None: # noqa: E501 + raise ValueError("Invalid value for `event_time`, must not be `None`") # noqa: E501 + + self._event_time = event_time + + @property + def kind(self): + """Gets the kind of this EventsV1Event. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this EventsV1Event. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this EventsV1Event. # noqa: E501 + + + :return: The metadata of this EventsV1Event. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this EventsV1Event. + + + :param metadata: The metadata of this EventsV1Event. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def note(self): + """Gets the note of this EventsV1Event. # noqa: E501 + + note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. # noqa: E501 + + :return: The note of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._note + + @note.setter + def note(self, note): + """Sets the note of this EventsV1Event. + + note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. # noqa: E501 + + :param note: The note of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._note = note + + @property + def reason(self): + """Gets the reason of this EventsV1Event. # noqa: E501 + + reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501 + + :return: The reason of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this EventsV1Event. + + reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501 + + :param reason: The reason of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def regarding(self): + """Gets the regarding of this EventsV1Event. # noqa: E501 + + + :return: The regarding of this EventsV1Event. # noqa: E501 + :rtype: V1ObjectReference + """ + return self._regarding + + @regarding.setter + def regarding(self, regarding): + """Sets the regarding of this EventsV1Event. + + + :param regarding: The regarding of this EventsV1Event. # noqa: E501 + :type: V1ObjectReference + """ + + self._regarding = regarding + + @property + def related(self): + """Gets the related of this EventsV1Event. # noqa: E501 + + + :return: The related of this EventsV1Event. # noqa: E501 + :rtype: V1ObjectReference + """ + return self._related + + @related.setter + def related(self, related): + """Sets the related of this EventsV1Event. + + + :param related: The related of this EventsV1Event. # noqa: E501 + :type: V1ObjectReference + """ + + self._related = related + + @property + def reporting_controller(self): + """Gets the reporting_controller of this EventsV1Event. # noqa: E501 + + reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events. # noqa: E501 + + :return: The reporting_controller of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._reporting_controller + + @reporting_controller.setter + def reporting_controller(self, reporting_controller): + """Sets the reporting_controller of this EventsV1Event. + + reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events. # noqa: E501 + + :param reporting_controller: The reporting_controller of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._reporting_controller = reporting_controller + + @property + def reporting_instance(self): + """Gets the reporting_instance of this EventsV1Event. # noqa: E501 + + reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501 + + :return: The reporting_instance of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._reporting_instance + + @reporting_instance.setter + def reporting_instance(self, reporting_instance): + """Sets the reporting_instance of this EventsV1Event. + + reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters. # noqa: E501 + + :param reporting_instance: The reporting_instance of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._reporting_instance = reporting_instance + + @property + def series(self): + """Gets the series of this EventsV1Event. # noqa: E501 + + + :return: The series of this EventsV1Event. # noqa: E501 + :rtype: EventsV1EventSeries + """ + return self._series + + @series.setter + def series(self, series): + """Sets the series of this EventsV1Event. + + + :param series: The series of this EventsV1Event. # noqa: E501 + :type: EventsV1EventSeries + """ + + self._series = series + + @property + def type(self): + """Gets the type of this EventsV1Event. # noqa: E501 + + type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events. # noqa: E501 + + :return: The type of this EventsV1Event. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this EventsV1Event. + + type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events. # noqa: E501 + + :param type: The type of this EventsV1Event. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, EventsV1Event): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EventsV1Event): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event_list.py new file mode 100644 index 0000000000000000000000000000000000000000..d34598893498e85d95ccd003b61794970b83a3a3 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class EventsV1EventList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[EventsV1Event]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """EventsV1EventList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this EventsV1EventList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this EventsV1EventList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this EventsV1EventList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this EventsV1EventList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this EventsV1EventList. # noqa: E501 + + items is a list of schema objects. # noqa: E501 + + :return: The items of this EventsV1EventList. # noqa: E501 + :rtype: list[EventsV1Event] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this EventsV1EventList. + + items is a list of schema objects. # noqa: E501 + + :param items: The items of this EventsV1EventList. # noqa: E501 + :type: list[EventsV1Event] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this EventsV1EventList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this EventsV1EventList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this EventsV1EventList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this EventsV1EventList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this EventsV1EventList. # noqa: E501 + + + :return: The metadata of this EventsV1EventList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this EventsV1EventList. + + + :param metadata: The metadata of this EventsV1EventList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, EventsV1EventList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EventsV1EventList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event_series.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event_series.py new file mode 100644 index 0000000000000000000000000000000000000000..18d9ca5e0f59b79b853d2e51d4a42dbe8f6ccb2c --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/events_v1_event_series.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class EventsV1EventSeries(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'count': 'int', + 'last_observed_time': 'datetime' + } + + attribute_map = { + 'count': 'count', + 'last_observed_time': 'lastObservedTime' + } + + def __init__(self, count=None, last_observed_time=None, local_vars_configuration=None): # noqa: E501 + """EventsV1EventSeries - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._count = None + self._last_observed_time = None + self.discriminator = None + + self.count = count + self.last_observed_time = last_observed_time + + @property + def count(self): + """Gets the count of this EventsV1EventSeries. # noqa: E501 + + count is the number of occurrences in this series up to the last heartbeat time. # noqa: E501 + + :return: The count of this EventsV1EventSeries. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this EventsV1EventSeries. + + count is the number of occurrences in this series up to the last heartbeat time. # noqa: E501 + + :param count: The count of this EventsV1EventSeries. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and count is None: # noqa: E501 + raise ValueError("Invalid value for `count`, must not be `None`") # noqa: E501 + + self._count = count + + @property + def last_observed_time(self): + """Gets the last_observed_time of this EventsV1EventSeries. # noqa: E501 + + lastObservedTime is the time when last Event from the series was seen before last heartbeat. # noqa: E501 + + :return: The last_observed_time of this EventsV1EventSeries. # noqa: E501 + :rtype: datetime + """ + return self._last_observed_time + + @last_observed_time.setter + def last_observed_time(self, last_observed_time): + """Sets the last_observed_time of this EventsV1EventSeries. + + lastObservedTime is the time when last Event from the series was seen before last heartbeat. # noqa: E501 + + :param last_observed_time: The last_observed_time of this EventsV1EventSeries. # noqa: E501 + :type: datetime + """ + if self.local_vars_configuration.client_side_validation and last_observed_time is None: # noqa: E501 + raise ValueError("Invalid value for `last_observed_time`, must not be `None`") # noqa: E501 + + self._last_observed_time = last_observed_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, EventsV1EventSeries): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, EventsV1EventSeries): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/flowcontrol_v1_subject.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/flowcontrol_v1_subject.py new file mode 100644 index 0000000000000000000000000000000000000000..85a78db058d178cf01b6e9399ebc89b91b6073b4 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/flowcontrol_v1_subject.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class FlowcontrolV1Subject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'group': 'V1GroupSubject', + 'kind': 'str', + 'service_account': 'V1ServiceAccountSubject', + 'user': 'V1UserSubject' + } + + attribute_map = { + 'group': 'group', + 'kind': 'kind', + 'service_account': 'serviceAccount', + 'user': 'user' + } + + def __init__(self, group=None, kind=None, service_account=None, user=None, local_vars_configuration=None): # noqa: E501 + """FlowcontrolV1Subject - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._group = None + self._kind = None + self._service_account = None + self._user = None + self.discriminator = None + + if group is not None: + self.group = group + self.kind = kind + if service_account is not None: + self.service_account = service_account + if user is not None: + self.user = user + + @property + def group(self): + """Gets the group of this FlowcontrolV1Subject. # noqa: E501 + + + :return: The group of this FlowcontrolV1Subject. # noqa: E501 + :rtype: V1GroupSubject + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this FlowcontrolV1Subject. + + + :param group: The group of this FlowcontrolV1Subject. # noqa: E501 + :type: V1GroupSubject + """ + + self._group = group + + @property + def kind(self): + """Gets the kind of this FlowcontrolV1Subject. # noqa: E501 + + `kind` indicates which one of the other fields is non-empty. Required # noqa: E501 + + :return: The kind of this FlowcontrolV1Subject. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this FlowcontrolV1Subject. + + `kind` indicates which one of the other fields is non-empty. Required # noqa: E501 + + :param kind: The kind of this FlowcontrolV1Subject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 + raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 + + self._kind = kind + + @property + def service_account(self): + """Gets the service_account of this FlowcontrolV1Subject. # noqa: E501 + + + :return: The service_account of this FlowcontrolV1Subject. # noqa: E501 + :rtype: V1ServiceAccountSubject + """ + return self._service_account + + @service_account.setter + def service_account(self, service_account): + """Sets the service_account of this FlowcontrolV1Subject. + + + :param service_account: The service_account of this FlowcontrolV1Subject. # noqa: E501 + :type: V1ServiceAccountSubject + """ + + self._service_account = service_account + + @property + def user(self): + """Gets the user of this FlowcontrolV1Subject. # noqa: E501 + + + :return: The user of this FlowcontrolV1Subject. # noqa: E501 + :rtype: V1UserSubject + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this FlowcontrolV1Subject. + + + :param user: The user of this FlowcontrolV1Subject. # noqa: E501 + :type: V1UserSubject + """ + + self._user = user + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, FlowcontrolV1Subject): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FlowcontrolV1Subject): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/rbac_v1_subject.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/rbac_v1_subject.py new file mode 100644 index 0000000000000000000000000000000000000000..826d55ec52166b3386394b99b0d350da04a06543 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/rbac_v1_subject.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class RbacV1Subject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_group': 'str', + 'kind': 'str', + 'name': 'str', + 'namespace': 'str' + } + + attribute_map = { + 'api_group': 'apiGroup', + 'kind': 'kind', + 'name': 'name', + 'namespace': 'namespace' + } + + def __init__(self, api_group=None, kind=None, name=None, namespace=None, local_vars_configuration=None): # noqa: E501 + """RbacV1Subject - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_group = None + self._kind = None + self._name = None + self._namespace = None + self.discriminator = None + + if api_group is not None: + self.api_group = api_group + self.kind = kind + self.name = name + if namespace is not None: + self.namespace = namespace + + @property + def api_group(self): + """Gets the api_group of this RbacV1Subject. # noqa: E501 + + APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. # noqa: E501 + + :return: The api_group of this RbacV1Subject. # noqa: E501 + :rtype: str + """ + return self._api_group + + @api_group.setter + def api_group(self, api_group): + """Sets the api_group of this RbacV1Subject. + + APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. # noqa: E501 + + :param api_group: The api_group of this RbacV1Subject. # noqa: E501 + :type: str + """ + + self._api_group = api_group + + @property + def kind(self): + """Gets the kind of this RbacV1Subject. # noqa: E501 + + Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. # noqa: E501 + + :return: The kind of this RbacV1Subject. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this RbacV1Subject. + + Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. # noqa: E501 + + :param kind: The kind of this RbacV1Subject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 + raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 + + self._kind = kind + + @property + def name(self): + """Gets the name of this RbacV1Subject. # noqa: E501 + + Name of the object being referenced. # noqa: E501 + + :return: The name of this RbacV1Subject. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this RbacV1Subject. + + Name of the object being referenced. # noqa: E501 + + :param name: The name of this RbacV1Subject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def namespace(self): + """Gets the namespace of this RbacV1Subject. # noqa: E501 + + Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. # noqa: E501 + + :return: The namespace of this RbacV1Subject. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this RbacV1Subject. + + Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. # noqa: E501 + + :param namespace: The namespace of this RbacV1Subject. # noqa: E501 + :type: str + """ + + self._namespace = namespace + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, RbacV1Subject): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, RbacV1Subject): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/resource_v1_resource_claim.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/resource_v1_resource_claim.py new file mode 100644 index 0000000000000000000000000000000000000000..5332d2ae491491ccf6b52a86603d4221af62a0af --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/resource_v1_resource_claim.py @@ -0,0 +1,229 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class ResourceV1ResourceClaim(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1ResourceClaimSpec', + 'status': 'V1ResourceClaimStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """ResourceV1ResourceClaim - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this ResourceV1ResourceClaim. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this ResourceV1ResourceClaim. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this ResourceV1ResourceClaim. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this ResourceV1ResourceClaim. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this ResourceV1ResourceClaim. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this ResourceV1ResourceClaim. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this ResourceV1ResourceClaim. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this ResourceV1ResourceClaim. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this ResourceV1ResourceClaim. # noqa: E501 + + + :return: The metadata of this ResourceV1ResourceClaim. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this ResourceV1ResourceClaim. + + + :param metadata: The metadata of this ResourceV1ResourceClaim. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this ResourceV1ResourceClaim. # noqa: E501 + + + :return: The spec of this ResourceV1ResourceClaim. # noqa: E501 + :rtype: V1ResourceClaimSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this ResourceV1ResourceClaim. + + + :param spec: The spec of this ResourceV1ResourceClaim. # noqa: E501 + :type: V1ResourceClaimSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + @property + def status(self): + """Gets the status of this ResourceV1ResourceClaim. # noqa: E501 + + + :return: The status of this ResourceV1ResourceClaim. # noqa: E501 + :rtype: V1ResourceClaimStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this ResourceV1ResourceClaim. + + + :param status: The status of this ResourceV1ResourceClaim. # noqa: E501 + :type: V1ResourceClaimStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, ResourceV1ResourceClaim): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, ResourceV1ResourceClaim): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/storage_v1_token_request.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/storage_v1_token_request.py new file mode 100644 index 0000000000000000000000000000000000000000..1b97bfdd3913007f401fabd5d4880b25ce0a620f --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/storage_v1_token_request.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class StorageV1TokenRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'audience': 'str', + 'expiration_seconds': 'int' + } + + attribute_map = { + 'audience': 'audience', + 'expiration_seconds': 'expirationSeconds' + } + + def __init__(self, audience=None, expiration_seconds=None, local_vars_configuration=None): # noqa: E501 + """StorageV1TokenRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._audience = None + self._expiration_seconds = None + self.discriminator = None + + self.audience = audience + if expiration_seconds is not None: + self.expiration_seconds = expiration_seconds + + @property + def audience(self): + """Gets the audience of this StorageV1TokenRequest. # noqa: E501 + + audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver. # noqa: E501 + + :return: The audience of this StorageV1TokenRequest. # noqa: E501 + :rtype: str + """ + return self._audience + + @audience.setter + def audience(self, audience): + """Sets the audience of this StorageV1TokenRequest. + + audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver. # noqa: E501 + + :param audience: The audience of this StorageV1TokenRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and audience is None: # noqa: E501 + raise ValueError("Invalid value for `audience`, must not be `None`") # noqa: E501 + + self._audience = audience + + @property + def expiration_seconds(self): + """Gets the expiration_seconds of this StorageV1TokenRequest. # noqa: E501 + + expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\". # noqa: E501 + + :return: The expiration_seconds of this StorageV1TokenRequest. # noqa: E501 + :rtype: int + """ + return self._expiration_seconds + + @expiration_seconds.setter + def expiration_seconds(self, expiration_seconds): + """Sets the expiration_seconds of this StorageV1TokenRequest. + + expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\". # noqa: E501 + + :param expiration_seconds: The expiration_seconds of this StorageV1TokenRequest. # noqa: E501 + :type: int + """ + + self._expiration_seconds = expiration_seconds + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, StorageV1TokenRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, StorageV1TokenRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_affinity.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_affinity.py new file mode 100644 index 0000000000000000000000000000000000000000..a2f2d436be94771276414f46f7756ecb11df98e6 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_affinity.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Affinity(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'node_affinity': 'V1NodeAffinity', + 'pod_affinity': 'V1PodAffinity', + 'pod_anti_affinity': 'V1PodAntiAffinity' + } + + attribute_map = { + 'node_affinity': 'nodeAffinity', + 'pod_affinity': 'podAffinity', + 'pod_anti_affinity': 'podAntiAffinity' + } + + def __init__(self, node_affinity=None, pod_affinity=None, pod_anti_affinity=None, local_vars_configuration=None): # noqa: E501 + """V1Affinity - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._node_affinity = None + self._pod_affinity = None + self._pod_anti_affinity = None + self.discriminator = None + + if node_affinity is not None: + self.node_affinity = node_affinity + if pod_affinity is not None: + self.pod_affinity = pod_affinity + if pod_anti_affinity is not None: + self.pod_anti_affinity = pod_anti_affinity + + @property + def node_affinity(self): + """Gets the node_affinity of this V1Affinity. # noqa: E501 + + + :return: The node_affinity of this V1Affinity. # noqa: E501 + :rtype: V1NodeAffinity + """ + return self._node_affinity + + @node_affinity.setter + def node_affinity(self, node_affinity): + """Sets the node_affinity of this V1Affinity. + + + :param node_affinity: The node_affinity of this V1Affinity. # noqa: E501 + :type: V1NodeAffinity + """ + + self._node_affinity = node_affinity + + @property + def pod_affinity(self): + """Gets the pod_affinity of this V1Affinity. # noqa: E501 + + + :return: The pod_affinity of this V1Affinity. # noqa: E501 + :rtype: V1PodAffinity + """ + return self._pod_affinity + + @pod_affinity.setter + def pod_affinity(self, pod_affinity): + """Sets the pod_affinity of this V1Affinity. + + + :param pod_affinity: The pod_affinity of this V1Affinity. # noqa: E501 + :type: V1PodAffinity + """ + + self._pod_affinity = pod_affinity + + @property + def pod_anti_affinity(self): + """Gets the pod_anti_affinity of this V1Affinity. # noqa: E501 + + + :return: The pod_anti_affinity of this V1Affinity. # noqa: E501 + :rtype: V1PodAntiAffinity + """ + return self._pod_anti_affinity + + @pod_anti_affinity.setter + def pod_anti_affinity(self, pod_anti_affinity): + """Sets the pod_anti_affinity of this V1Affinity. + + + :param pod_anti_affinity: The pod_anti_affinity of this V1Affinity. # noqa: E501 + :type: V1PodAntiAffinity + """ + + self._pod_anti_affinity = pod_anti_affinity + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Affinity): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Affinity): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_aggregation_rule.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_aggregation_rule.py new file mode 100644 index 0000000000000000000000000000000000000000..8e484244397034fa85cf34696c4b0341a9c44349 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_aggregation_rule.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AggregationRule(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'cluster_role_selectors': 'list[V1LabelSelector]' + } + + attribute_map = { + 'cluster_role_selectors': 'clusterRoleSelectors' + } + + def __init__(self, cluster_role_selectors=None, local_vars_configuration=None): # noqa: E501 + """V1AggregationRule - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._cluster_role_selectors = None + self.discriminator = None + + if cluster_role_selectors is not None: + self.cluster_role_selectors = cluster_role_selectors + + @property + def cluster_role_selectors(self): + """Gets the cluster_role_selectors of this V1AggregationRule. # noqa: E501 + + ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added # noqa: E501 + + :return: The cluster_role_selectors of this V1AggregationRule. # noqa: E501 + :rtype: list[V1LabelSelector] + """ + return self._cluster_role_selectors + + @cluster_role_selectors.setter + def cluster_role_selectors(self, cluster_role_selectors): + """Sets the cluster_role_selectors of this V1AggregationRule. + + ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added # noqa: E501 + + :param cluster_role_selectors: The cluster_role_selectors of this V1AggregationRule. # noqa: E501 + :type: list[V1LabelSelector] + """ + + self._cluster_role_selectors = cluster_role_selectors + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AggregationRule): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AggregationRule): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_allocated_device_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_allocated_device_status.py new file mode 100644 index 0000000000000000000000000000000000000000..704bd381ff9d474f2d670a0a35fcfbdf75ff6397 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_allocated_device_status.py @@ -0,0 +1,291 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AllocatedDeviceStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'conditions': 'list[V1Condition]', + 'data': 'object', + 'device': 'str', + 'driver': 'str', + 'network_data': 'V1NetworkDeviceData', + 'pool': 'str', + 'share_id': 'str' + } + + attribute_map = { + 'conditions': 'conditions', + 'data': 'data', + 'device': 'device', + 'driver': 'driver', + 'network_data': 'networkData', + 'pool': 'pool', + 'share_id': 'shareID' + } + + def __init__(self, conditions=None, data=None, device=None, driver=None, network_data=None, pool=None, share_id=None, local_vars_configuration=None): # noqa: E501 + """V1AllocatedDeviceStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._conditions = None + self._data = None + self._device = None + self._driver = None + self._network_data = None + self._pool = None + self._share_id = None + self.discriminator = None + + if conditions is not None: + self.conditions = conditions + if data is not None: + self.data = data + self.device = device + self.driver = driver + if network_data is not None: + self.network_data = network_data + self.pool = pool + if share_id is not None: + self.share_id = share_id + + @property + def conditions(self): + """Gets the conditions of this V1AllocatedDeviceStatus. # noqa: E501 + + Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. Must not contain more than 8 entries. # noqa: E501 + + :return: The conditions of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: list[V1Condition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1AllocatedDeviceStatus. + + Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True. Must not contain more than 8 entries. # noqa: E501 + + :param conditions: The conditions of this V1AllocatedDeviceStatus. # noqa: E501 + :type: list[V1Condition] + """ + + self._conditions = conditions + + @property + def data(self): + """Gets the data of this V1AllocatedDeviceStatus. # noqa: E501 + + Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. # noqa: E501 + + :return: The data of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: object + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this V1AllocatedDeviceStatus. + + Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki. # noqa: E501 + + :param data: The data of this V1AllocatedDeviceStatus. # noqa: E501 + :type: object + """ + + self._data = data + + @property + def device(self): + """Gets the device of this V1AllocatedDeviceStatus. # noqa: E501 + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :return: The device of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """Sets the device of this V1AllocatedDeviceStatus. + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :param device: The device of this V1AllocatedDeviceStatus. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device is None: # noqa: E501 + raise ValueError("Invalid value for `device`, must not be `None`") # noqa: E501 + + self._device = device + + @property + def driver(self): + """Gets the driver of this V1AllocatedDeviceStatus. # noqa: E501 + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 + + :return: The driver of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1AllocatedDeviceStatus. + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 + + :param driver: The driver of this V1AllocatedDeviceStatus. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def network_data(self): + """Gets the network_data of this V1AllocatedDeviceStatus. # noqa: E501 + + + :return: The network_data of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: V1NetworkDeviceData + """ + return self._network_data + + @network_data.setter + def network_data(self, network_data): + """Sets the network_data of this V1AllocatedDeviceStatus. + + + :param network_data: The network_data of this V1AllocatedDeviceStatus. # noqa: E501 + :type: V1NetworkDeviceData + """ + + self._network_data = network_data + + @property + def pool(self): + """Gets the pool of this V1AllocatedDeviceStatus. # noqa: E501 + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :return: The pool of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: str + """ + return self._pool + + @pool.setter + def pool(self, pool): + """Sets the pool of this V1AllocatedDeviceStatus. + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :param pool: The pool of this V1AllocatedDeviceStatus. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 + raise ValueError("Invalid value for `pool`, must not be `None`") # noqa: E501 + + self._pool = pool + + @property + def share_id(self): + """Gets the share_id of this V1AllocatedDeviceStatus. # noqa: E501 + + ShareID uniquely identifies an individual allocation share of the device. # noqa: E501 + + :return: The share_id of this V1AllocatedDeviceStatus. # noqa: E501 + :rtype: str + """ + return self._share_id + + @share_id.setter + def share_id(self, share_id): + """Sets the share_id of this V1AllocatedDeviceStatus. + + ShareID uniquely identifies an individual allocation share of the device. # noqa: E501 + + :param share_id: The share_id of this V1AllocatedDeviceStatus. # noqa: E501 + :type: str + """ + + self._share_id = share_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AllocatedDeviceStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AllocatedDeviceStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_allocation_result.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_allocation_result.py new file mode 100644 index 0000000000000000000000000000000000000000..a7bb3b5cb0cb658e16f45a6a9c931f83bf435779 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_allocation_result.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'allocation_timestamp': 'datetime', + 'devices': 'V1DeviceAllocationResult', + 'node_selector': 'V1NodeSelector' + } + + attribute_map = { + 'allocation_timestamp': 'allocationTimestamp', + 'devices': 'devices', + 'node_selector': 'nodeSelector' + } + + def __init__(self, allocation_timestamp=None, devices=None, node_selector=None, local_vars_configuration=None): # noqa: E501 + """V1AllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._allocation_timestamp = None + self._devices = None + self._node_selector = None + self.discriminator = None + + if allocation_timestamp is not None: + self.allocation_timestamp = allocation_timestamp + if devices is not None: + self.devices = devices + if node_selector is not None: + self.node_selector = node_selector + + @property + def allocation_timestamp(self): + """Gets the allocation_timestamp of this V1AllocationResult. # noqa: E501 + + AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate. # noqa: E501 + + :return: The allocation_timestamp of this V1AllocationResult. # noqa: E501 + :rtype: datetime + """ + return self._allocation_timestamp + + @allocation_timestamp.setter + def allocation_timestamp(self, allocation_timestamp): + """Sets the allocation_timestamp of this V1AllocationResult. + + AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate. # noqa: E501 + + :param allocation_timestamp: The allocation_timestamp of this V1AllocationResult. # noqa: E501 + :type: datetime + """ + + self._allocation_timestamp = allocation_timestamp + + @property + def devices(self): + """Gets the devices of this V1AllocationResult. # noqa: E501 + + + :return: The devices of this V1AllocationResult. # noqa: E501 + :rtype: V1DeviceAllocationResult + """ + return self._devices + + @devices.setter + def devices(self, devices): + """Sets the devices of this V1AllocationResult. + + + :param devices: The devices of this V1AllocationResult. # noqa: E501 + :type: V1DeviceAllocationResult + """ + + self._devices = devices + + @property + def node_selector(self): + """Gets the node_selector of this V1AllocationResult. # noqa: E501 + + + :return: The node_selector of this V1AllocationResult. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._node_selector + + @node_selector.setter + def node_selector(self, node_selector): + """Sets the node_selector of this V1AllocationResult. + + + :param node_selector: The node_selector of this V1AllocationResult. # noqa: E501 + :type: V1NodeSelector + """ + + self._node_selector = node_selector + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AllocationResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_group.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_group.py new file mode 100644 index 0000000000000000000000000000000000000000..bc62071168276cb9d58b8c4cdd49e8269b996f02 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_group.py @@ -0,0 +1,262 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIGroup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'name': 'str', + 'preferred_version': 'V1GroupVersionForDiscovery', + 'server_address_by_client_cid_rs': 'list[V1ServerAddressByClientCIDR]', + 'versions': 'list[V1GroupVersionForDiscovery]' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'name': 'name', + 'preferred_version': 'preferredVersion', + 'server_address_by_client_cid_rs': 'serverAddressByClientCIDRs', + 'versions': 'versions' + } + + def __init__(self, api_version=None, kind=None, name=None, preferred_version=None, server_address_by_client_cid_rs=None, versions=None, local_vars_configuration=None): # noqa: E501 + """V1APIGroup - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._name = None + self._preferred_version = None + self._server_address_by_client_cid_rs = None + self._versions = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + self.name = name + if preferred_version is not None: + self.preferred_version = preferred_version + if server_address_by_client_cid_rs is not None: + self.server_address_by_client_cid_rs = server_address_by_client_cid_rs + self.versions = versions + + @property + def api_version(self): + """Gets the api_version of this V1APIGroup. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1APIGroup. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1APIGroup. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1APIGroup. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1APIGroup. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1APIGroup. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1APIGroup. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1APIGroup. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def name(self): + """Gets the name of this V1APIGroup. # noqa: E501 + + name is the name of the group. # noqa: E501 + + :return: The name of this V1APIGroup. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1APIGroup. + + name is the name of the group. # noqa: E501 + + :param name: The name of this V1APIGroup. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def preferred_version(self): + """Gets the preferred_version of this V1APIGroup. # noqa: E501 + + + :return: The preferred_version of this V1APIGroup. # noqa: E501 + :rtype: V1GroupVersionForDiscovery + """ + return self._preferred_version + + @preferred_version.setter + def preferred_version(self, preferred_version): + """Sets the preferred_version of this V1APIGroup. + + + :param preferred_version: The preferred_version of this V1APIGroup. # noqa: E501 + :type: V1GroupVersionForDiscovery + """ + + self._preferred_version = preferred_version + + @property + def server_address_by_client_cid_rs(self): + """Gets the server_address_by_client_cid_rs of this V1APIGroup. # noqa: E501 + + a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. # noqa: E501 + + :return: The server_address_by_client_cid_rs of this V1APIGroup. # noqa: E501 + :rtype: list[V1ServerAddressByClientCIDR] + """ + return self._server_address_by_client_cid_rs + + @server_address_by_client_cid_rs.setter + def server_address_by_client_cid_rs(self, server_address_by_client_cid_rs): + """Sets the server_address_by_client_cid_rs of this V1APIGroup. + + a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. # noqa: E501 + + :param server_address_by_client_cid_rs: The server_address_by_client_cid_rs of this V1APIGroup. # noqa: E501 + :type: list[V1ServerAddressByClientCIDR] + """ + + self._server_address_by_client_cid_rs = server_address_by_client_cid_rs + + @property + def versions(self): + """Gets the versions of this V1APIGroup. # noqa: E501 + + versions are the versions supported in this group. # noqa: E501 + + :return: The versions of this V1APIGroup. # noqa: E501 + :rtype: list[V1GroupVersionForDiscovery] + """ + return self._versions + + @versions.setter + def versions(self, versions): + """Sets the versions of this V1APIGroup. + + versions are the versions supported in this group. # noqa: E501 + + :param versions: The versions of this V1APIGroup. # noqa: E501 + :type: list[V1GroupVersionForDiscovery] + """ + if self.local_vars_configuration.client_side_validation and versions is None: # noqa: E501 + raise ValueError("Invalid value for `versions`, must not be `None`") # noqa: E501 + + self._versions = versions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIGroup): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIGroup): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_group_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_group_list.py new file mode 100644 index 0000000000000000000000000000000000000000..e6af00115f49bedde18e98a4e872336a2631cedf --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_group_list.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIGroupList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'groups': 'list[V1APIGroup]', + 'kind': 'str' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'groups': 'groups', + 'kind': 'kind' + } + + def __init__(self, api_version=None, groups=None, kind=None, local_vars_configuration=None): # noqa: E501 + """V1APIGroupList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._groups = None + self._kind = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.groups = groups + if kind is not None: + self.kind = kind + + @property + def api_version(self): + """Gets the api_version of this V1APIGroupList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1APIGroupList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1APIGroupList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1APIGroupList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def groups(self): + """Gets the groups of this V1APIGroupList. # noqa: E501 + + groups is a list of APIGroup. # noqa: E501 + + :return: The groups of this V1APIGroupList. # noqa: E501 + :rtype: list[V1APIGroup] + """ + return self._groups + + @groups.setter + def groups(self, groups): + """Sets the groups of this V1APIGroupList. + + groups is a list of APIGroup. # noqa: E501 + + :param groups: The groups of this V1APIGroupList. # noqa: E501 + :type: list[V1APIGroup] + """ + if self.local_vars_configuration.client_side_validation and groups is None: # noqa: E501 + raise ValueError("Invalid value for `groups`, must not be `None`") # noqa: E501 + + self._groups = groups + + @property + def kind(self): + """Gets the kind of this V1APIGroupList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1APIGroupList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1APIGroupList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1APIGroupList. # noqa: E501 + :type: str + """ + + self._kind = kind + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIGroupList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIGroupList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_resource.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_resource.py new file mode 100644 index 0000000000000000000000000000000000000000..61a32b285377d7f325fe175fe623f5c7e5375e3d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_resource.py @@ -0,0 +1,379 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIResource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'categories': 'list[str]', + 'group': 'str', + 'kind': 'str', + 'name': 'str', + 'namespaced': 'bool', + 'short_names': 'list[str]', + 'singular_name': 'str', + 'storage_version_hash': 'str', + 'verbs': 'list[str]', + 'version': 'str' + } + + attribute_map = { + 'categories': 'categories', + 'group': 'group', + 'kind': 'kind', + 'name': 'name', + 'namespaced': 'namespaced', + 'short_names': 'shortNames', + 'singular_name': 'singularName', + 'storage_version_hash': 'storageVersionHash', + 'verbs': 'verbs', + 'version': 'version' + } + + def __init__(self, categories=None, group=None, kind=None, name=None, namespaced=None, short_names=None, singular_name=None, storage_version_hash=None, verbs=None, version=None, local_vars_configuration=None): # noqa: E501 + """V1APIResource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._categories = None + self._group = None + self._kind = None + self._name = None + self._namespaced = None + self._short_names = None + self._singular_name = None + self._storage_version_hash = None + self._verbs = None + self._version = None + self.discriminator = None + + if categories is not None: + self.categories = categories + if group is not None: + self.group = group + self.kind = kind + self.name = name + self.namespaced = namespaced + if short_names is not None: + self.short_names = short_names + self.singular_name = singular_name + if storage_version_hash is not None: + self.storage_version_hash = storage_version_hash + self.verbs = verbs + if version is not None: + self.version = version + + @property + def categories(self): + """Gets the categories of this V1APIResource. # noqa: E501 + + categories is a list of the grouped resources this resource belongs to (e.g. 'all') # noqa: E501 + + :return: The categories of this V1APIResource. # noqa: E501 + :rtype: list[str] + """ + return self._categories + + @categories.setter + def categories(self, categories): + """Sets the categories of this V1APIResource. + + categories is a list of the grouped resources this resource belongs to (e.g. 'all') # noqa: E501 + + :param categories: The categories of this V1APIResource. # noqa: E501 + :type: list[str] + """ + + self._categories = categories + + @property + def group(self): + """Gets the group of this V1APIResource. # noqa: E501 + + group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\". # noqa: E501 + + :return: The group of this V1APIResource. # noqa: E501 + :rtype: str + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this V1APIResource. + + group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\". # noqa: E501 + + :param group: The group of this V1APIResource. # noqa: E501 + :type: str + """ + + self._group = group + + @property + def kind(self): + """Gets the kind of this V1APIResource. # noqa: E501 + + kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') # noqa: E501 + + :return: The kind of this V1APIResource. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1APIResource. + + kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo') # noqa: E501 + + :param kind: The kind of this V1APIResource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 + raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 + + self._kind = kind + + @property + def name(self): + """Gets the name of this V1APIResource. # noqa: E501 + + name is the plural name of the resource. # noqa: E501 + + :return: The name of this V1APIResource. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1APIResource. + + name is the plural name of the resource. # noqa: E501 + + :param name: The name of this V1APIResource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def namespaced(self): + """Gets the namespaced of this V1APIResource. # noqa: E501 + + namespaced indicates if a resource is namespaced or not. # noqa: E501 + + :return: The namespaced of this V1APIResource. # noqa: E501 + :rtype: bool + """ + return self._namespaced + + @namespaced.setter + def namespaced(self, namespaced): + """Sets the namespaced of this V1APIResource. + + namespaced indicates if a resource is namespaced or not. # noqa: E501 + + :param namespaced: The namespaced of this V1APIResource. # noqa: E501 + :type: bool + """ + if self.local_vars_configuration.client_side_validation and namespaced is None: # noqa: E501 + raise ValueError("Invalid value for `namespaced`, must not be `None`") # noqa: E501 + + self._namespaced = namespaced + + @property + def short_names(self): + """Gets the short_names of this V1APIResource. # noqa: E501 + + shortNames is a list of suggested short names of the resource. # noqa: E501 + + :return: The short_names of this V1APIResource. # noqa: E501 + :rtype: list[str] + """ + return self._short_names + + @short_names.setter + def short_names(self, short_names): + """Sets the short_names of this V1APIResource. + + shortNames is a list of suggested short names of the resource. # noqa: E501 + + :param short_names: The short_names of this V1APIResource. # noqa: E501 + :type: list[str] + """ + + self._short_names = short_names + + @property + def singular_name(self): + """Gets the singular_name of this V1APIResource. # noqa: E501 + + singularName is the singular name of the resource. This allows 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. # noqa: E501 + + :return: The singular_name of this V1APIResource. # noqa: E501 + :rtype: str + """ + return self._singular_name + + @singular_name.setter + def singular_name(self, singular_name): + """Sets the singular_name of this V1APIResource. + + singularName is the singular name of the resource. This allows 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. # noqa: E501 + + :param singular_name: The singular_name of this V1APIResource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and singular_name is None: # noqa: E501 + raise ValueError("Invalid value for `singular_name`, must not be `None`") # noqa: E501 + + self._singular_name = singular_name + + @property + def storage_version_hash(self): + """Gets the storage_version_hash of this V1APIResource. # noqa: E501 + + The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. # noqa: E501 + + :return: The storage_version_hash of this V1APIResource. # noqa: E501 + :rtype: str + """ + return self._storage_version_hash + + @storage_version_hash.setter + def storage_version_hash(self, storage_version_hash): + """Sets the storage_version_hash of this V1APIResource. + + The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates. # noqa: E501 + + :param storage_version_hash: The storage_version_hash of this V1APIResource. # noqa: E501 + :type: str + """ + + self._storage_version_hash = storage_version_hash + + @property + def verbs(self): + """Gets the verbs of this V1APIResource. # noqa: E501 + + verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) # noqa: E501 + + :return: The verbs of this V1APIResource. # noqa: E501 + :rtype: list[str] + """ + return self._verbs + + @verbs.setter + def verbs(self, verbs): + """Sets the verbs of this V1APIResource. + + verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy) # noqa: E501 + + :param verbs: The verbs of this V1APIResource. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and verbs is None: # noqa: E501 + raise ValueError("Invalid value for `verbs`, must not be `None`") # noqa: E501 + + self._verbs = verbs + + @property + def version(self): + """Gets the version of this V1APIResource. # noqa: E501 + + version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\". # noqa: E501 + + :return: The version of this V1APIResource. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this V1APIResource. + + version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\". # noqa: E501 + + :param version: The version of this V1APIResource. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIResource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIResource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_resource_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_resource_list.py new file mode 100644 index 0000000000000000000000000000000000000000..650151ba3f4a6a564bed260443a29eca3b290bd1 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_resource_list.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIResourceList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'group_version': 'str', + 'kind': 'str', + 'resources': 'list[V1APIResource]' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'group_version': 'groupVersion', + 'kind': 'kind', + 'resources': 'resources' + } + + def __init__(self, api_version=None, group_version=None, kind=None, resources=None, local_vars_configuration=None): # noqa: E501 + """V1APIResourceList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._group_version = None + self._kind = None + self._resources = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.group_version = group_version + if kind is not None: + self.kind = kind + self.resources = resources + + @property + def api_version(self): + """Gets the api_version of this V1APIResourceList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1APIResourceList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1APIResourceList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1APIResourceList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def group_version(self): + """Gets the group_version of this V1APIResourceList. # noqa: E501 + + groupVersion is the group and version this APIResourceList is for. # noqa: E501 + + :return: The group_version of this V1APIResourceList. # noqa: E501 + :rtype: str + """ + return self._group_version + + @group_version.setter + def group_version(self, group_version): + """Sets the group_version of this V1APIResourceList. + + groupVersion is the group and version this APIResourceList is for. # noqa: E501 + + :param group_version: The group_version of this V1APIResourceList. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and group_version is None: # noqa: E501 + raise ValueError("Invalid value for `group_version`, must not be `None`") # noqa: E501 + + self._group_version = group_version + + @property + def kind(self): + """Gets the kind of this V1APIResourceList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1APIResourceList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1APIResourceList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1APIResourceList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def resources(self): + """Gets the resources of this V1APIResourceList. # noqa: E501 + + resources contains the name of the resources and if they are namespaced. # noqa: E501 + + :return: The resources of this V1APIResourceList. # noqa: E501 + :rtype: list[V1APIResource] + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this V1APIResourceList. + + resources contains the name of the resources and if they are namespaced. # noqa: E501 + + :param resources: The resources of this V1APIResourceList. # noqa: E501 + :type: list[V1APIResource] + """ + if self.local_vars_configuration.client_side_validation and resources is None: # noqa: E501 + raise ValueError("Invalid value for `resources`, must not be `None`") # noqa: E501 + + self._resources = resources + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIResourceList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIResourceList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service.py new file mode 100644 index 0000000000000000000000000000000000000000..229ec6f2b1e7066f702d12b6f8210b1400bdc55d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIService(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1APIServiceSpec', + 'status': 'V1APIServiceStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1APIService - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1APIService. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1APIService. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1APIService. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1APIService. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1APIService. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1APIService. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1APIService. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1APIService. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1APIService. # noqa: E501 + + + :return: The metadata of this V1APIService. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1APIService. + + + :param metadata: The metadata of this V1APIService. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1APIService. # noqa: E501 + + + :return: The spec of this V1APIService. # noqa: E501 + :rtype: V1APIServiceSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1APIService. + + + :param spec: The spec of this V1APIService. # noqa: E501 + :type: V1APIServiceSpec + """ + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1APIService. # noqa: E501 + + + :return: The status of this V1APIService. # noqa: E501 + :rtype: V1APIServiceStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1APIService. + + + :param status: The status of this V1APIService. # noqa: E501 + :type: V1APIServiceStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIService): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIService): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_condition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_condition.py new file mode 100644 index 0000000000000000000000000000000000000000..7544bb32eb840b88e0741299bcd3befe6a3caeb4 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_condition.py @@ -0,0 +1,236 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIServiceCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'message': 'str', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'message': 'message', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1APIServiceCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._message = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + if last_transition_time is not None: + self.last_transition_time = last_transition_time + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + self.status = status + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1APIServiceCondition. # noqa: E501 + + Last time the condition transitioned from one status to another. # noqa: E501 + + :return: The last_transition_time of this V1APIServiceCondition. # noqa: E501 + :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 V1APIServiceCondition. + + Last time the condition transitioned from one status to another. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1APIServiceCondition. # noqa: E501 + :type: datetime + """ + + self._last_transition_time = last_transition_time + + @property + def message(self): + """Gets the message of this V1APIServiceCondition. # noqa: E501 + + Human-readable message indicating details about last transition. # noqa: E501 + + :return: The message of this V1APIServiceCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1APIServiceCondition. + + Human-readable message indicating details about last transition. # noqa: E501 + + :param message: The message of this V1APIServiceCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1APIServiceCondition. # noqa: E501 + + Unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :return: The reason of this V1APIServiceCondition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1APIServiceCondition. + + Unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :param reason: The reason of this V1APIServiceCondition. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1APIServiceCondition. # noqa: E501 + + Status is the status of the condition. Can be True, False, Unknown. # noqa: E501 + + :return: The status of this V1APIServiceCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1APIServiceCondition. + + Status is the status of the condition. Can be True, False, Unknown. # noqa: E501 + + :param status: The status of this V1APIServiceCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def type(self): + """Gets the type of this V1APIServiceCondition. # noqa: E501 + + Type is the type of the condition. # noqa: E501 + + :return: The type of this V1APIServiceCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1APIServiceCondition. + + Type is the type of the condition. # noqa: E501 + + :param type: The type of this V1APIServiceCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIServiceCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIServiceCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_list.py new file mode 100644 index 0000000000000000000000000000000000000000..9b69bf0da87a000c69ef4e69732399bc51b0d8f4 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIServiceList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1APIService]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1APIServiceList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1APIServiceList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1APIServiceList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1APIServiceList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1APIServiceList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1APIServiceList. # noqa: E501 + + Items is the list of APIService # noqa: E501 + + :return: The items of this V1APIServiceList. # noqa: E501 + :rtype: list[V1APIService] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1APIServiceList. + + Items is the list of APIService # noqa: E501 + + :param items: The items of this V1APIServiceList. # noqa: E501 + :type: list[V1APIService] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1APIServiceList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1APIServiceList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1APIServiceList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1APIServiceList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1APIServiceList. # noqa: E501 + + + :return: The metadata of this V1APIServiceList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1APIServiceList. + + + :param metadata: The metadata of this V1APIServiceList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIServiceList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIServiceList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..ccd211bf50bd8d6be085a6d9f0a430d4debcb43e --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_spec.py @@ -0,0 +1,293 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIServiceSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'ca_bundle': 'str', + 'group': 'str', + 'group_priority_minimum': 'int', + 'insecure_skip_tls_verify': 'bool', + 'service': 'ApiregistrationV1ServiceReference', + 'version': 'str', + 'version_priority': 'int' + } + + attribute_map = { + 'ca_bundle': 'caBundle', + 'group': 'group', + 'group_priority_minimum': 'groupPriorityMinimum', + 'insecure_skip_tls_verify': 'insecureSkipTLSVerify', + 'service': 'service', + 'version': 'version', + 'version_priority': 'versionPriority' + } + + def __init__(self, ca_bundle=None, group=None, group_priority_minimum=None, insecure_skip_tls_verify=None, service=None, version=None, version_priority=None, local_vars_configuration=None): # noqa: E501 + """V1APIServiceSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._ca_bundle = None + self._group = None + self._group_priority_minimum = None + self._insecure_skip_tls_verify = None + self._service = None + self._version = None + self._version_priority = None + self.discriminator = None + + if ca_bundle is not None: + self.ca_bundle = ca_bundle + if group is not None: + self.group = group + self.group_priority_minimum = group_priority_minimum + if insecure_skip_tls_verify is not None: + self.insecure_skip_tls_verify = insecure_skip_tls_verify + if service is not None: + self.service = service + if version is not None: + self.version = version + self.version_priority = version_priority + + @property + def ca_bundle(self): + """Gets the ca_bundle of this V1APIServiceSpec. # noqa: E501 + + CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501 + + :return: The ca_bundle of this V1APIServiceSpec. # noqa: E501 + :rtype: str + """ + return self._ca_bundle + + @ca_bundle.setter + def ca_bundle(self, ca_bundle): + """Sets the ca_bundle of this V1APIServiceSpec. + + CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. # noqa: E501 + + :param ca_bundle: The ca_bundle of this V1APIServiceSpec. # noqa: E501 + :type: str + """ + if (self.local_vars_configuration.client_side_validation and + ca_bundle is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', ca_bundle)): # noqa: E501 + raise ValueError(r"Invalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._ca_bundle = ca_bundle + + @property + def group(self): + """Gets the group of this V1APIServiceSpec. # noqa: E501 + + Group is the API group name this server hosts # noqa: E501 + + :return: The group of this V1APIServiceSpec. # noqa: E501 + :rtype: str + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this V1APIServiceSpec. + + Group is the API group name this server hosts # noqa: E501 + + :param group: The group of this V1APIServiceSpec. # noqa: E501 + :type: str + """ + + self._group = group + + @property + def group_priority_minimum(self): + """Gets the group_priority_minimum of this V1APIServiceSpec. # noqa: E501 + + GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s # noqa: E501 + + :return: The group_priority_minimum of this V1APIServiceSpec. # noqa: E501 + :rtype: int + """ + return self._group_priority_minimum + + @group_priority_minimum.setter + def group_priority_minimum(self, group_priority_minimum): + """Sets the group_priority_minimum of this V1APIServiceSpec. + + GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s # noqa: E501 + + :param group_priority_minimum: The group_priority_minimum of this V1APIServiceSpec. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and group_priority_minimum is None: # noqa: E501 + raise ValueError("Invalid value for `group_priority_minimum`, must not be `None`") # noqa: E501 + + self._group_priority_minimum = group_priority_minimum + + @property + def insecure_skip_tls_verify(self): + """Gets the insecure_skip_tls_verify of this V1APIServiceSpec. # noqa: E501 + + InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. # noqa: E501 + + :return: The insecure_skip_tls_verify of this V1APIServiceSpec. # noqa: E501 + :rtype: bool + """ + return self._insecure_skip_tls_verify + + @insecure_skip_tls_verify.setter + def insecure_skip_tls_verify(self, insecure_skip_tls_verify): + """Sets the insecure_skip_tls_verify of this V1APIServiceSpec. + + InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. # noqa: E501 + + :param insecure_skip_tls_verify: The insecure_skip_tls_verify of this V1APIServiceSpec. # noqa: E501 + :type: bool + """ + + self._insecure_skip_tls_verify = insecure_skip_tls_verify + + @property + def service(self): + """Gets the service of this V1APIServiceSpec. # noqa: E501 + + + :return: The service of this V1APIServiceSpec. # noqa: E501 + :rtype: ApiregistrationV1ServiceReference + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this V1APIServiceSpec. + + + :param service: The service of this V1APIServiceSpec. # noqa: E501 + :type: ApiregistrationV1ServiceReference + """ + + self._service = service + + @property + def version(self): + """Gets the version of this V1APIServiceSpec. # noqa: E501 + + Version is the API version this server hosts. For example, \"v1\" # noqa: E501 + + :return: The version of this V1APIServiceSpec. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this V1APIServiceSpec. + + Version is the API version this server hosts. For example, \"v1\" # noqa: E501 + + :param version: The version of this V1APIServiceSpec. # noqa: E501 + :type: str + """ + + self._version = version + + @property + def version_priority(self): + """Gets the version_priority of this V1APIServiceSpec. # noqa: E501 + + VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. # noqa: E501 + + :return: The version_priority of this V1APIServiceSpec. # noqa: E501 + :rtype: int + """ + return self._version_priority + + @version_priority.setter + def version_priority(self, version_priority): + """Sets the version_priority of this V1APIServiceSpec. + + VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. # noqa: E501 + + :param version_priority: The version_priority of this V1APIServiceSpec. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and version_priority is None: # noqa: E501 + raise ValueError("Invalid value for `version_priority`, must not be `None`") # noqa: E501 + + self._version_priority = version_priority + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIServiceSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIServiceSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_status.py new file mode 100644 index 0000000000000000000000000000000000000000..e7de8d0c85f433ba15f7c2494002010ca131badd --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_service_status.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIServiceStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'conditions': 'list[V1APIServiceCondition]' + } + + attribute_map = { + 'conditions': 'conditions' + } + + def __init__(self, conditions=None, local_vars_configuration=None): # noqa: E501 + """V1APIServiceStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._conditions = None + self.discriminator = None + + if conditions is not None: + self.conditions = conditions + + @property + def conditions(self): + """Gets the conditions of this V1APIServiceStatus. # noqa: E501 + + Current service state of apiService. # noqa: E501 + + :return: The conditions of this V1APIServiceStatus. # noqa: E501 + :rtype: list[V1APIServiceCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1APIServiceStatus. + + Current service state of apiService. # noqa: E501 + + :param conditions: The conditions of this V1APIServiceStatus. # noqa: E501 + :type: list[V1APIServiceCondition] + """ + + self._conditions = conditions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIServiceStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIServiceStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_versions.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_versions.py new file mode 100644 index 0000000000000000000000000000000000000000..cd6ae38c030c56e3801efec2570d01c956deb506 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_api_versions.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1APIVersions(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'server_address_by_client_cid_rs': 'list[V1ServerAddressByClientCIDR]', + 'versions': 'list[str]' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'server_address_by_client_cid_rs': 'serverAddressByClientCIDRs', + 'versions': 'versions' + } + + def __init__(self, api_version=None, kind=None, server_address_by_client_cid_rs=None, versions=None, local_vars_configuration=None): # noqa: E501 + """V1APIVersions - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._server_address_by_client_cid_rs = None + self._versions = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + self.server_address_by_client_cid_rs = server_address_by_client_cid_rs + self.versions = versions + + @property + def api_version(self): + """Gets the api_version of this V1APIVersions. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1APIVersions. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1APIVersions. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1APIVersions. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1APIVersions. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1APIVersions. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1APIVersions. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1APIVersions. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def server_address_by_client_cid_rs(self): + """Gets the server_address_by_client_cid_rs of this V1APIVersions. # noqa: E501 + + a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. # noqa: E501 + + :return: The server_address_by_client_cid_rs of this V1APIVersions. # noqa: E501 + :rtype: list[V1ServerAddressByClientCIDR] + """ + return self._server_address_by_client_cid_rs + + @server_address_by_client_cid_rs.setter + def server_address_by_client_cid_rs(self, server_address_by_client_cid_rs): + """Sets the server_address_by_client_cid_rs of this V1APIVersions. + + a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. # noqa: E501 + + :param server_address_by_client_cid_rs: The server_address_by_client_cid_rs of this V1APIVersions. # noqa: E501 + :type: list[V1ServerAddressByClientCIDR] + """ + if self.local_vars_configuration.client_side_validation and server_address_by_client_cid_rs is None: # noqa: E501 + raise ValueError("Invalid value for `server_address_by_client_cid_rs`, must not be `None`") # noqa: E501 + + self._server_address_by_client_cid_rs = server_address_by_client_cid_rs + + @property + def versions(self): + """Gets the versions of this V1APIVersions. # noqa: E501 + + versions are the api versions that are available. # noqa: E501 + + :return: The versions of this V1APIVersions. # noqa: E501 + :rtype: list[str] + """ + return self._versions + + @versions.setter + def versions(self, versions): + """Sets the versions of this V1APIVersions. + + versions are the api versions that are available. # noqa: E501 + + :param versions: The versions of this V1APIVersions. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and versions is None: # noqa: E501 + raise ValueError("Invalid value for `versions`, must not be `None`") # noqa: E501 + + self._versions = versions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1APIVersions): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1APIVersions): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_app_armor_profile.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_app_armor_profile.py new file mode 100644 index 0000000000000000000000000000000000000000..abb8ae425413d6e4448afa5517e9bbd4f531f995 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_app_armor_profile.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AppArmorProfile(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'localhost_profile': 'str', + 'type': 'str' + } + + attribute_map = { + 'localhost_profile': 'localhostProfile', + 'type': 'type' + } + + def __init__(self, localhost_profile=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1AppArmorProfile - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._localhost_profile = None + self._type = None + self.discriminator = None + + if localhost_profile is not None: + self.localhost_profile = localhost_profile + self.type = type + + @property + def localhost_profile(self): + """Gets the localhost_profile of this V1AppArmorProfile. # noqa: E501 + + localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\". # noqa: E501 + + :return: The localhost_profile of this V1AppArmorProfile. # noqa: E501 + :rtype: str + """ + return self._localhost_profile + + @localhost_profile.setter + def localhost_profile(self, localhost_profile): + """Sets the localhost_profile of this V1AppArmorProfile. + + localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\". # noqa: E501 + + :param localhost_profile: The localhost_profile of this V1AppArmorProfile. # noqa: E501 + :type: str + """ + + self._localhost_profile = localhost_profile + + @property + def type(self): + """Gets the type of this V1AppArmorProfile. # noqa: E501 + + type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. # noqa: E501 + + :return: The type of this V1AppArmorProfile. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1AppArmorProfile. + + type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement. # noqa: E501 + + :param type: The type of this V1AppArmorProfile. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AppArmorProfile): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AppArmorProfile): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_attached_volume.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_attached_volume.py new file mode 100644 index 0000000000000000000000000000000000000000..07bf404c356eb9090b8400d0d556a875f94ae234 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_attached_volume.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AttachedVolume(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'device_path': 'str', + 'name': 'str' + } + + attribute_map = { + 'device_path': 'devicePath', + 'name': 'name' + } + + def __init__(self, device_path=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1AttachedVolume - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._device_path = None + self._name = None + self.discriminator = None + + self.device_path = device_path + self.name = name + + @property + def device_path(self): + """Gets the device_path of this V1AttachedVolume. # noqa: E501 + + DevicePath represents the device path where the volume should be available # noqa: E501 + + :return: The device_path of this V1AttachedVolume. # noqa: E501 + :rtype: str + """ + return self._device_path + + @device_path.setter + def device_path(self, device_path): + """Sets the device_path of this V1AttachedVolume. + + DevicePath represents the device path where the volume should be available # noqa: E501 + + :param device_path: The device_path of this V1AttachedVolume. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device_path is None: # noqa: E501 + raise ValueError("Invalid value for `device_path`, must not be `None`") # noqa: E501 + + self._device_path = device_path + + @property + def name(self): + """Gets the name of this V1AttachedVolume. # noqa: E501 + + Name of the attached volume # noqa: E501 + + :return: The name of this V1AttachedVolume. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1AttachedVolume. + + Name of the attached volume # noqa: E501 + + :param name: The name of this V1AttachedVolume. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AttachedVolume): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AttachedVolume): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_audit_annotation.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_audit_annotation.py new file mode 100644 index 0000000000000000000000000000000000000000..d838453a10c57f5335899197f8c45d32c444f44b --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_audit_annotation.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AuditAnnotation(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'key': 'str', + 'value_expression': 'str' + } + + attribute_map = { + 'key': 'key', + 'value_expression': 'valueExpression' + } + + def __init__(self, key=None, value_expression=None, local_vars_configuration=None): # noqa: E501 + """V1AuditAnnotation - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._key = None + self._value_expression = None + self.discriminator = None + + self.key = key + self.value_expression = value_expression + + @property + def key(self): + """Gets the key of this V1AuditAnnotation. # noqa: E501 + + key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\". If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. Required. # noqa: E501 + + :return: The key of this V1AuditAnnotation. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1AuditAnnotation. + + key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length. The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\". If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded. Required. # noqa: E501 + + :param key: The key of this V1AuditAnnotation. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def value_expression(self): + """Gets the value_expression of this V1AuditAnnotation. # noqa: E501 + + valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. Required. # noqa: E501 + + :return: The value_expression of this V1AuditAnnotation. # noqa: E501 + :rtype: str + """ + return self._value_expression + + @value_expression.setter + def value_expression(self, value_expression): + """Sets the value_expression of this V1AuditAnnotation. + + valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb. If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list. Required. # noqa: E501 + + :param value_expression: The value_expression of this V1AuditAnnotation. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and value_expression is None: # noqa: E501 + raise ValueError("Invalid value for `value_expression`, must not be `None`") # noqa: E501 + + self._value_expression = value_expression + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AuditAnnotation): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AuditAnnotation): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..fb19876f3be9d6f6238adf4405b211f7785571ce --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -0,0 +1,207 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AWSElasticBlockStoreVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'fs_type': 'str', + 'partition': 'int', + 'read_only': 'bool', + 'volume_id': 'str' + } + + attribute_map = { + 'fs_type': 'fsType', + 'partition': 'partition', + 'read_only': 'readOnly', + 'volume_id': 'volumeID' + } + + def __init__(self, fs_type=None, partition=None, read_only=None, volume_id=None, local_vars_configuration=None): # noqa: E501 + """V1AWSElasticBlockStoreVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._fs_type = None + self._partition = None + self._read_only = None + self._volume_id = None + self.discriminator = None + + if fs_type is not None: + self.fs_type = fs_type + if partition is not None: + self.partition = partition + if read_only is not None: + self.read_only = read_only + self.volume_id = volume_id + + @property + def fs_type(self): + """Gets the fs_type of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + + fsType is the 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 # noqa: E501 + + :return: The fs_type of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """Sets the fs_type of this V1AWSElasticBlockStoreVolumeSource. + + fsType is the 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 # noqa: E501 + + :param fs_type: The fs_type of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :type: str + """ + + self._fs_type = fs_type + + @property + def partition(self): + """Gets the partition of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + + partition is 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). # noqa: E501 + + :return: The partition of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :rtype: int + """ + return self._partition + + @partition.setter + def partition(self, partition): + """Sets the partition of this V1AWSElasticBlockStoreVolumeSource. + + partition is 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). # noqa: E501 + + :param partition: The partition of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :type: int + """ + + self._partition = partition + + @property + def read_only(self): + """Gets the read_only of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + + readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501 + + :return: The read_only of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1AWSElasticBlockStoreVolumeSource. + + readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501 + + :param read_only: The read_only of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def volume_id(self): + """Gets the volume_id of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501 + + :return: The volume_id of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :rtype: str + """ + return self._volume_id + + @volume_id.setter + def volume_id(self, volume_id): + """Sets the volume_id of this V1AWSElasticBlockStoreVolumeSource. + + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore # noqa: E501 + + :param volume_id: The volume_id of this V1AWSElasticBlockStoreVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and volume_id is None: # noqa: E501 + raise ValueError("Invalid value for `volume_id`, must not be `None`") # noqa: E501 + + self._volume_id = volume_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AWSElasticBlockStoreVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AWSElasticBlockStoreVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_disk_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_disk_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..43e0d662d840b5048417343b3810c9035c6a7d72 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -0,0 +1,264 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AzureDiskVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'caching_mode': 'str', + 'disk_name': 'str', + 'disk_uri': 'str', + 'fs_type': 'str', + 'kind': 'str', + 'read_only': 'bool' + } + + attribute_map = { + 'caching_mode': 'cachingMode', + 'disk_name': 'diskName', + 'disk_uri': 'diskURI', + 'fs_type': 'fsType', + 'kind': 'kind', + 'read_only': 'readOnly' + } + + def __init__(self, caching_mode=None, disk_name=None, disk_uri=None, fs_type=None, kind=None, read_only=None, local_vars_configuration=None): # noqa: E501 + """V1AzureDiskVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._caching_mode = None + self._disk_name = None + self._disk_uri = None + self._fs_type = None + self._kind = None + self._read_only = None + self.discriminator = None + + if caching_mode is not None: + self.caching_mode = caching_mode + self.disk_name = disk_name + self.disk_uri = disk_uri + if fs_type is not None: + self.fs_type = fs_type + if kind is not None: + self.kind = kind + if read_only is not None: + self.read_only = read_only + + @property + def caching_mode(self): + """Gets the caching_mode of this V1AzureDiskVolumeSource. # noqa: E501 + + cachingMode is the Host Caching mode: None, Read Only, Read Write. # noqa: E501 + + :return: The caching_mode of this V1AzureDiskVolumeSource. # noqa: E501 + :rtype: str + """ + return self._caching_mode + + @caching_mode.setter + def caching_mode(self, caching_mode): + """Sets the caching_mode of this V1AzureDiskVolumeSource. + + cachingMode is the Host Caching mode: None, Read Only, Read Write. # noqa: E501 + + :param caching_mode: The caching_mode of this V1AzureDiskVolumeSource. # noqa: E501 + :type: str + """ + + self._caching_mode = caching_mode + + @property + def disk_name(self): + """Gets the disk_name of this V1AzureDiskVolumeSource. # noqa: E501 + + diskName is the Name of the data disk in the blob storage # noqa: E501 + + :return: The disk_name of this V1AzureDiskVolumeSource. # noqa: E501 + :rtype: str + """ + return self._disk_name + + @disk_name.setter + def disk_name(self, disk_name): + """Sets the disk_name of this V1AzureDiskVolumeSource. + + diskName is the Name of the data disk in the blob storage # noqa: E501 + + :param disk_name: The disk_name of this V1AzureDiskVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and disk_name is None: # noqa: E501 + raise ValueError("Invalid value for `disk_name`, must not be `None`") # noqa: E501 + + self._disk_name = disk_name + + @property + def disk_uri(self): + """Gets the disk_uri of this V1AzureDiskVolumeSource. # noqa: E501 + + diskURI is the URI of data disk in the blob storage # noqa: E501 + + :return: The disk_uri of this V1AzureDiskVolumeSource. # noqa: E501 + :rtype: str + """ + return self._disk_uri + + @disk_uri.setter + def disk_uri(self, disk_uri): + """Sets the disk_uri of this V1AzureDiskVolumeSource. + + diskURI is the URI of data disk in the blob storage # noqa: E501 + + :param disk_uri: The disk_uri of this V1AzureDiskVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and disk_uri is None: # noqa: E501 + raise ValueError("Invalid value for `disk_uri`, must not be `None`") # noqa: E501 + + self._disk_uri = disk_uri + + @property + def fs_type(self): + """Gets the fs_type of this V1AzureDiskVolumeSource. # noqa: E501 + + fsType is 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. # noqa: E501 + + :return: The fs_type of this V1AzureDiskVolumeSource. # noqa: E501 + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """Sets the fs_type of this V1AzureDiskVolumeSource. + + fsType is 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. # noqa: E501 + + :param fs_type: The fs_type of this V1AzureDiskVolumeSource. # noqa: E501 + :type: str + """ + + self._fs_type = fs_type + + @property + def kind(self): + """Gets the kind of this V1AzureDiskVolumeSource. # noqa: E501 + + kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared # noqa: E501 + + :return: The kind of this V1AzureDiskVolumeSource. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1AzureDiskVolumeSource. + + kind expected values are Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared # noqa: E501 + + :param kind: The kind of this V1AzureDiskVolumeSource. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def read_only(self): + """Gets the read_only of this V1AzureDiskVolumeSource. # noqa: E501 + + readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501 + + :return: The read_only of this V1AzureDiskVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1AzureDiskVolumeSource. + + readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501 + + :param read_only: The read_only of this V1AzureDiskVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AzureDiskVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AzureDiskVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_file_persistent_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_file_persistent_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..1cdab2fa04cd3bff0368ecf498b52a2d01a74c34 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_file_persistent_volume_source.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AzureFilePersistentVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'read_only': 'bool', + 'secret_name': 'str', + 'secret_namespace': 'str', + 'share_name': 'str' + } + + attribute_map = { + 'read_only': 'readOnly', + 'secret_name': 'secretName', + 'secret_namespace': 'secretNamespace', + 'share_name': 'shareName' + } + + def __init__(self, read_only=None, secret_name=None, secret_namespace=None, share_name=None, local_vars_configuration=None): # noqa: E501 + """V1AzureFilePersistentVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._read_only = None + self._secret_name = None + self._secret_namespace = None + self._share_name = None + self.discriminator = None + + if read_only is not None: + self.read_only = read_only + self.secret_name = secret_name + if secret_namespace is not None: + self.secret_namespace = secret_namespace + self.share_name = share_name + + @property + def read_only(self): + """Gets the read_only of this V1AzureFilePersistentVolumeSource. # noqa: E501 + + readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501 + + :return: The read_only of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1AzureFilePersistentVolumeSource. + + readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501 + + :param read_only: The read_only of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def secret_name(self): + """Gets the secret_name of this V1AzureFilePersistentVolumeSource. # noqa: E501 + + secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501 + + :return: The secret_name of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._secret_name + + @secret_name.setter + def secret_name(self, secret_name): + """Sets the secret_name of this V1AzureFilePersistentVolumeSource. + + secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501 + + :param secret_name: The secret_name of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and secret_name is None: # noqa: E501 + raise ValueError("Invalid value for `secret_name`, must not be `None`") # noqa: E501 + + self._secret_name = secret_name + + @property + def secret_namespace(self): + """Gets the secret_namespace of this V1AzureFilePersistentVolumeSource. # noqa: E501 + + secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod # noqa: E501 + + :return: The secret_namespace of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._secret_namespace + + @secret_namespace.setter + def secret_namespace(self, secret_namespace): + """Sets the secret_namespace of this V1AzureFilePersistentVolumeSource. + + secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod # noqa: E501 + + :param secret_namespace: The secret_namespace of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :type: str + """ + + self._secret_namespace = secret_namespace + + @property + def share_name(self): + """Gets the share_name of this V1AzureFilePersistentVolumeSource. # noqa: E501 + + shareName is the azure Share Name # noqa: E501 + + :return: The share_name of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._share_name + + @share_name.setter + def share_name(self, share_name): + """Sets the share_name of this V1AzureFilePersistentVolumeSource. + + shareName is the azure Share Name # noqa: E501 + + :param share_name: The share_name of this V1AzureFilePersistentVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and share_name is None: # noqa: E501 + raise ValueError("Invalid value for `share_name`, must not be `None`") # noqa: E501 + + self._share_name = share_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AzureFilePersistentVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AzureFilePersistentVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_file_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_file_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..97ec328fdc2ce070751902437a9374ee26355cb8 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_azure_file_volume_source.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1AzureFileVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'read_only': 'bool', + 'secret_name': 'str', + 'share_name': 'str' + } + + attribute_map = { + 'read_only': 'readOnly', + 'secret_name': 'secretName', + 'share_name': 'shareName' + } + + def __init__(self, read_only=None, secret_name=None, share_name=None, local_vars_configuration=None): # noqa: E501 + """V1AzureFileVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._read_only = None + self._secret_name = None + self._share_name = None + self.discriminator = None + + if read_only is not None: + self.read_only = read_only + self.secret_name = secret_name + self.share_name = share_name + + @property + def read_only(self): + """Gets the read_only of this V1AzureFileVolumeSource. # noqa: E501 + + readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501 + + :return: The read_only of this V1AzureFileVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1AzureFileVolumeSource. + + readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. # noqa: E501 + + :param read_only: The read_only of this V1AzureFileVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def secret_name(self): + """Gets the secret_name of this V1AzureFileVolumeSource. # noqa: E501 + + secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501 + + :return: The secret_name of this V1AzureFileVolumeSource. # noqa: E501 + :rtype: str + """ + return self._secret_name + + @secret_name.setter + def secret_name(self, secret_name): + """Sets the secret_name of this V1AzureFileVolumeSource. + + secretName is the name of secret that contains Azure Storage Account Name and Key # noqa: E501 + + :param secret_name: The secret_name of this V1AzureFileVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and secret_name is None: # noqa: E501 + raise ValueError("Invalid value for `secret_name`, must not be `None`") # noqa: E501 + + self._secret_name = secret_name + + @property + def share_name(self): + """Gets the share_name of this V1AzureFileVolumeSource. # noqa: E501 + + shareName is the azure share Name # noqa: E501 + + :return: The share_name of this V1AzureFileVolumeSource. # noqa: E501 + :rtype: str + """ + return self._share_name + + @share_name.setter + def share_name(self, share_name): + """Sets the share_name of this V1AzureFileVolumeSource. + + shareName is the azure share Name # noqa: E501 + + :param share_name: The share_name of this V1AzureFileVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and share_name is None: # noqa: E501 + raise ValueError("Invalid value for `share_name`, must not be `None`") # noqa: E501 + + self._share_name = share_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1AzureFileVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1AzureFileVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_binding.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_binding.py new file mode 100644 index 0000000000000000000000000000000000000000..adbe3581e7c07e901e8c25a7313eb0073c28b56e --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_binding.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Binding(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'target': 'V1ObjectReference' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'target': 'target' + } + + def __init__(self, api_version=None, kind=None, metadata=None, target=None, local_vars_configuration=None): # noqa: E501 + """V1Binding - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._target = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.target = target + + @property + def api_version(self): + """Gets the api_version of this V1Binding. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1Binding. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1Binding. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1Binding. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1Binding. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1Binding. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1Binding. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1Binding. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1Binding. # noqa: E501 + + + :return: The metadata of this V1Binding. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1Binding. + + + :param metadata: The metadata of this V1Binding. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def target(self): + """Gets the target of this V1Binding. # noqa: E501 + + + :return: The target of this V1Binding. # noqa: E501 + :rtype: V1ObjectReference + """ + return self._target + + @target.setter + def target(self, target): + """Sets the target of this V1Binding. + + + :param target: The target of this V1Binding. # noqa: E501 + :type: V1ObjectReference + """ + if self.local_vars_configuration.client_side_validation and target is None: # noqa: E501 + raise ValueError("Invalid value for `target`, must not be `None`") # noqa: E501 + + self._target = target + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Binding): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Binding): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_bound_object_reference.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_bound_object_reference.py new file mode 100644 index 0000000000000000000000000000000000000000..0ac221bbd4e7e5d640ac76ca94638924d75c610f --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_bound_object_reference.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1BoundObjectReference(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'name': 'str', + 'uid': 'str' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'name': 'name', + 'uid': 'uid' + } + + def __init__(self, api_version=None, kind=None, name=None, uid=None, local_vars_configuration=None): # noqa: E501 + """V1BoundObjectReference - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._name = None + self._uid = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if name is not None: + self.name = name + if uid is not None: + self.uid = uid + + @property + def api_version(self): + """Gets the api_version of this V1BoundObjectReference. # noqa: E501 + + API version of the referent. # noqa: E501 + + :return: The api_version of this V1BoundObjectReference. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1BoundObjectReference. + + API version of the referent. # noqa: E501 + + :param api_version: The api_version of this V1BoundObjectReference. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1BoundObjectReference. # noqa: E501 + + Kind of the referent. Valid kinds are 'Pod' and 'Secret'. # noqa: E501 + + :return: The kind of this V1BoundObjectReference. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1BoundObjectReference. + + Kind of the referent. Valid kinds are 'Pod' and 'Secret'. # noqa: E501 + + :param kind: The kind of this V1BoundObjectReference. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def name(self): + """Gets the name of this V1BoundObjectReference. # noqa: E501 + + Name of the referent. # noqa: E501 + + :return: The name of this V1BoundObjectReference. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1BoundObjectReference. + + Name of the referent. # noqa: E501 + + :param name: The name of this V1BoundObjectReference. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def uid(self): + """Gets the uid of this V1BoundObjectReference. # noqa: E501 + + UID of the referent. # noqa: E501 + + :return: The uid of this V1BoundObjectReference. # noqa: E501 + :rtype: str + """ + return self._uid + + @uid.setter + def uid(self, uid): + """Sets the uid of this V1BoundObjectReference. + + UID of the referent. # noqa: E501 + + :param uid: The uid of this V1BoundObjectReference. # noqa: E501 + :type: str + """ + + self._uid = uid + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1BoundObjectReference): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1BoundObjectReference): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capabilities.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capabilities.py new file mode 100644 index 0000000000000000000000000000000000000000..5a68c59db91a6eeca87af892d9e39efd0dd81b34 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capabilities.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Capabilities(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'add': 'list[str]', + 'drop': 'list[str]' + } + + attribute_map = { + 'add': 'add', + 'drop': 'drop' + } + + def __init__(self, add=None, drop=None, local_vars_configuration=None): # noqa: E501 + """V1Capabilities - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._add = None + self._drop = None + self.discriminator = None + + if add is not None: + self.add = add + if drop is not None: + self.drop = drop + + @property + def add(self): + """Gets the add of this V1Capabilities. # noqa: E501 + + Added capabilities # noqa: E501 + + :return: The add of this V1Capabilities. # noqa: E501 + :rtype: list[str] + """ + return self._add + + @add.setter + def add(self, add): + """Sets the add of this V1Capabilities. + + Added capabilities # noqa: E501 + + :param add: The add of this V1Capabilities. # noqa: E501 + :type: list[str] + """ + + self._add = add + + @property + def drop(self): + """Gets the drop of this V1Capabilities. # noqa: E501 + + Removed capabilities # noqa: E501 + + :return: The drop of this V1Capabilities. # noqa: E501 + :rtype: list[str] + """ + return self._drop + + @drop.setter + def drop(self, drop): + """Sets the drop of this V1Capabilities. + + Removed capabilities # noqa: E501 + + :param drop: The drop of this V1Capabilities. # noqa: E501 + :type: list[str] + """ + + self._drop = drop + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Capabilities): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Capabilities): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_request_policy.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_request_policy.py new file mode 100644 index 0000000000000000000000000000000000000000..32d90ea9b403e04cbd23aa8d46a8962822c8f502 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_request_policy.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CapacityRequestPolicy(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'default': 'str', + 'valid_range': 'V1CapacityRequestPolicyRange', + 'valid_values': 'list[str]' + } + + attribute_map = { + 'default': 'default', + 'valid_range': 'validRange', + 'valid_values': 'validValues' + } + + def __init__(self, default=None, valid_range=None, valid_values=None, local_vars_configuration=None): # noqa: E501 + """V1CapacityRequestPolicy - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._default = None + self._valid_range = None + self._valid_values = None + self.discriminator = None + + if default is not None: + self.default = default + if valid_range is not None: + self.valid_range = valid_range + if valid_values is not None: + self.valid_values = valid_values + + @property + def default(self): + """Gets the default of this V1CapacityRequestPolicy. # noqa: E501 + + Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity. # noqa: E501 + + :return: The default of this V1CapacityRequestPolicy. # noqa: E501 + :rtype: str + """ + return self._default + + @default.setter + def default(self, default): + """Sets the default of this V1CapacityRequestPolicy. + + Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity. # noqa: E501 + + :param default: The default of this V1CapacityRequestPolicy. # noqa: E501 + :type: str + """ + + self._default = default + + @property + def valid_range(self): + """Gets the valid_range of this V1CapacityRequestPolicy. # noqa: E501 + + + :return: The valid_range of this V1CapacityRequestPolicy. # noqa: E501 + :rtype: V1CapacityRequestPolicyRange + """ + return self._valid_range + + @valid_range.setter + def valid_range(self, valid_range): + """Sets the valid_range of this V1CapacityRequestPolicy. + + + :param valid_range: The valid_range of this V1CapacityRequestPolicy. # noqa: E501 + :type: V1CapacityRequestPolicyRange + """ + + self._valid_range = valid_range + + @property + def valid_values(self): + """Gets the valid_values of this V1CapacityRequestPolicy. # noqa: E501 + + ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. # noqa: E501 + + :return: The valid_values of this V1CapacityRequestPolicy. # noqa: E501 + :rtype: list[str] + """ + return self._valid_values + + @valid_values.setter + def valid_values(self, valid_values): + """Sets the valid_values of this V1CapacityRequestPolicy. + + ValidValues defines a set of acceptable quantity values in consuming requests. Must not contain more than 10 entries. Must be sorted in ascending order. If this field is set, Default must be defined and it must be included in ValidValues list. If the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) ∈ validValues), where requestedValue ≤ max(validValues). If the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated. # noqa: E501 + + :param valid_values: The valid_values of this V1CapacityRequestPolicy. # noqa: E501 + :type: list[str] + """ + + self._valid_values = valid_values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CapacityRequestPolicy): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CapacityRequestPolicy): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_request_policy_range.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_request_policy_range.py new file mode 100644 index 0000000000000000000000000000000000000000..cd6f2c7b865817a15b01a04348090698c0358678 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_request_policy_range.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CapacityRequestPolicyRange(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'max': 'str', + 'min': 'str', + 'step': 'str' + } + + attribute_map = { + 'max': 'max', + 'min': 'min', + 'step': 'step' + } + + def __init__(self, max=None, min=None, step=None, local_vars_configuration=None): # noqa: E501 + """V1CapacityRequestPolicyRange - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._max = None + self._min = None + self._step = None + self.discriminator = None + + if max is not None: + self.max = max + self.min = min + if step is not None: + self.step = step + + @property + def max(self): + """Gets the max of this V1CapacityRequestPolicyRange. # noqa: E501 + + Max defines the upper limit for capacity that can be requested. Max must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum. # noqa: E501 + + :return: The max of this V1CapacityRequestPolicyRange. # noqa: E501 + :rtype: str + """ + return self._max + + @max.setter + def max(self, max): + """Sets the max of this V1CapacityRequestPolicyRange. + + Max defines the upper limit for capacity that can be requested. Max must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum. # noqa: E501 + + :param max: The max of this V1CapacityRequestPolicyRange. # noqa: E501 + :type: str + """ + + self._max = max + + @property + def min(self): + """Gets the min of this V1CapacityRequestPolicyRange. # noqa: E501 + + Min specifies the minimum capacity allowed for a consumption request. Min must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum. # noqa: E501 + + :return: The min of this V1CapacityRequestPolicyRange. # noqa: E501 + :rtype: str + """ + return self._min + + @min.setter + def min(self, min): + """Sets the min of this V1CapacityRequestPolicyRange. + + Min specifies the minimum capacity allowed for a consumption request. Min must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum. # noqa: E501 + + :param min: The min of this V1CapacityRequestPolicyRange. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and min is None: # noqa: E501 + raise ValueError("Invalid value for `min`, must not be `None`") # noqa: E501 + + self._min = min + + @property + def step(self): + """Gets the step of this V1CapacityRequestPolicyRange. # noqa: E501 + + Step defines the step size between valid capacity amounts within the range. Max (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value. # noqa: E501 + + :return: The step of this V1CapacityRequestPolicyRange. # noqa: E501 + :rtype: str + """ + return self._step + + @step.setter + def step(self, step): + """Sets the step of this V1CapacityRequestPolicyRange. + + Step defines the step size between valid capacity amounts within the range. Max (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value. # noqa: E501 + + :param step: The step of this V1CapacityRequestPolicyRange. # noqa: E501 + :type: str + """ + + self._step = step + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CapacityRequestPolicyRange): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CapacityRequestPolicyRange): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_requirements.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_requirements.py new file mode 100644 index 0000000000000000000000000000000000000000..290d315f0130cb853fb23e9d852f058feb231324 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_capacity_requirements.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CapacityRequirements(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'requests': 'dict(str, str)' + } + + attribute_map = { + 'requests': 'requests' + } + + def __init__(self, requests=None, local_vars_configuration=None): # noqa: E501 + """V1CapacityRequirements - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._requests = None + self.discriminator = None + + if requests is not None: + self.requests = requests + + @property + def requests(self): + """Gets the requests of this V1CapacityRequirements. # noqa: E501 + + Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim’s status.devices[*].consumedCapacity field. # noqa: E501 + + :return: The requests of this V1CapacityRequirements. # noqa: E501 + :rtype: dict(str, str) + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1CapacityRequirements. + + Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value—because it exceeds what the requestPolicy allows— the device is considered ineligible for allocation. For any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed). - If a requestPolicy is set, the default consumed capacity is determined according to that policy. If the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim’s status.devices[*].consumedCapacity field. # noqa: E501 + + :param requests: The requests of this V1CapacityRequirements. # noqa: E501 + :type: dict(str, str) + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CapacityRequirements): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CapacityRequirements): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cel_device_selector.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cel_device_selector.py new file mode 100644 index 0000000000000000000000000000000000000000..f050e27e2af7ec36f16f03ed558e4eb28a634f87 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cel_device_selector.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CELDeviceSelector(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'expression': 'str' + } + + attribute_map = { + 'expression': 'expression' + } + + def __init__(self, expression=None, local_vars_configuration=None): # noqa: E501 + """V1CELDeviceSelector - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._expression = None + self.discriminator = None + + self.expression = expression + + @property + def expression(self): + """Gets the expression of this V1CELDeviceSelector. # noqa: E501 + + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. # noqa: E501 + + :return: The expression of this V1CELDeviceSelector. # noqa: E501 + :rtype: str + """ + return self._expression + + @expression.setter + def expression(self, expression): + """Sets the expression of this V1CELDeviceSelector. + + Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named \"device\", which carries the following properties: - driver (string): the name of the driver which defines this device. - attributes (map[string]object): the device's attributes, grouped by prefix (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all of the attributes which were prefixed by \"dra.example.com\". - capacity (map[string]object): the device's capacities, grouped by prefix. - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device (v1.34+ with the DRAConsumableCapacity feature enabled). Example: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields: device.driver device.attributes[\"dra.example.com\"].model device.attributes[\"ext.example.com\"].family device.capacity[\"dra.example.com\"].modules The device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers. The value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity. If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort. A robust expression should check for the existence of attributes before referencing them. For ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example: cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool) The length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps. # noqa: E501 + + :param expression: The expression of this V1CELDeviceSelector. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and expression is None: # noqa: E501 + raise ValueError("Invalid value for `expression`, must not be `None`") # noqa: E501 + + self._expression = expression + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CELDeviceSelector): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CELDeviceSelector): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..cb557a74ce021f636c38c4360cd645cbc58346e1 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CephFSPersistentVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'monitors': 'list[str]', + 'path': 'str', + 'read_only': 'bool', + 'secret_file': 'str', + 'secret_ref': 'V1SecretReference', + 'user': 'str' + } + + attribute_map = { + 'monitors': 'monitors', + 'path': 'path', + 'read_only': 'readOnly', + 'secret_file': 'secretFile', + 'secret_ref': 'secretRef', + 'user': 'user' + } + + def __init__(self, monitors=None, path=None, read_only=None, secret_file=None, secret_ref=None, user=None, local_vars_configuration=None): # noqa: E501 + """V1CephFSPersistentVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._monitors = None + self._path = None + self._read_only = None + self._secret_file = None + self._secret_ref = None + self._user = None + self.discriminator = None + + self.monitors = monitors + if path is not None: + self.path = path + if read_only is not None: + self.read_only = read_only + if secret_file is not None: + self.secret_file = secret_file + if secret_ref is not None: + self.secret_ref = secret_ref + if user is not None: + self.user = user + + @property + def monitors(self): + """Gets the monitors of this V1CephFSPersistentVolumeSource. # noqa: E501 + + monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The monitors of this V1CephFSPersistentVolumeSource. # noqa: E501 + :rtype: list[str] + """ + return self._monitors + + @monitors.setter + def monitors(self, monitors): + """Sets the monitors of this V1CephFSPersistentVolumeSource. + + monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param monitors: The monitors of this V1CephFSPersistentVolumeSource. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and monitors is None: # noqa: E501 + raise ValueError("Invalid value for `monitors`, must not be `None`") # noqa: E501 + + self._monitors = monitors + + @property + def path(self): + """Gets the path of this V1CephFSPersistentVolumeSource. # noqa: E501 + + path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / # noqa: E501 + + :return: The path of this V1CephFSPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """Sets the path of this V1CephFSPersistentVolumeSource. + + path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / # noqa: E501 + + :param path: The path of this V1CephFSPersistentVolumeSource. # noqa: E501 + :type: str + """ + + self._path = path + + @property + def read_only(self): + """Gets the read_only of this V1CephFSPersistentVolumeSource. # noqa: E501 + + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The read_only of this V1CephFSPersistentVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1CephFSPersistentVolumeSource. + + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param read_only: The read_only of this V1CephFSPersistentVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def secret_file(self): + """Gets the secret_file of this V1CephFSPersistentVolumeSource. # noqa: E501 + + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The secret_file of this V1CephFSPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._secret_file + + @secret_file.setter + def secret_file(self, secret_file): + """Sets the secret_file of this V1CephFSPersistentVolumeSource. + + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param secret_file: The secret_file of this V1CephFSPersistentVolumeSource. # noqa: E501 + :type: str + """ + + self._secret_file = secret_file + + @property + def secret_ref(self): + """Gets the secret_ref of this V1CephFSPersistentVolumeSource. # noqa: E501 + + + :return: The secret_ref of this V1CephFSPersistentVolumeSource. # noqa: E501 + :rtype: V1SecretReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """Sets the secret_ref of this V1CephFSPersistentVolumeSource. + + + :param secret_ref: The secret_ref of this V1CephFSPersistentVolumeSource. # noqa: E501 + :type: V1SecretReference + """ + + self._secret_ref = secret_ref + + @property + def user(self): + """Gets the user of this V1CephFSPersistentVolumeSource. # noqa: E501 + + user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The user of this V1CephFSPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this V1CephFSPersistentVolumeSource. + + user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param user: The user of this V1CephFSPersistentVolumeSource. # noqa: E501 + :type: str + """ + + self._user = user + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CephFSPersistentVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CephFSPersistentVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_ceph_fs_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_ceph_fs_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..47bc71c1c5240b9bf7ebbf84ba870e83ffa3ebe8 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CephFSVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'monitors': 'list[str]', + 'path': 'str', + 'read_only': 'bool', + 'secret_file': 'str', + 'secret_ref': 'V1LocalObjectReference', + 'user': 'str' + } + + attribute_map = { + 'monitors': 'monitors', + 'path': 'path', + 'read_only': 'readOnly', + 'secret_file': 'secretFile', + 'secret_ref': 'secretRef', + 'user': 'user' + } + + def __init__(self, monitors=None, path=None, read_only=None, secret_file=None, secret_ref=None, user=None, local_vars_configuration=None): # noqa: E501 + """V1CephFSVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._monitors = None + self._path = None + self._read_only = None + self._secret_file = None + self._secret_ref = None + self._user = None + self.discriminator = None + + self.monitors = monitors + if path is not None: + self.path = path + if read_only is not None: + self.read_only = read_only + if secret_file is not None: + self.secret_file = secret_file + if secret_ref is not None: + self.secret_ref = secret_ref + if user is not None: + self.user = user + + @property + def monitors(self): + """Gets the monitors of this V1CephFSVolumeSource. # noqa: E501 + + monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The monitors of this V1CephFSVolumeSource. # noqa: E501 + :rtype: list[str] + """ + return self._monitors + + @monitors.setter + def monitors(self, monitors): + """Sets the monitors of this V1CephFSVolumeSource. + + monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param monitors: The monitors of this V1CephFSVolumeSource. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and monitors is None: # noqa: E501 + raise ValueError("Invalid value for `monitors`, must not be `None`") # noqa: E501 + + self._monitors = monitors + + @property + def path(self): + """Gets the path of this V1CephFSVolumeSource. # noqa: E501 + + path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / # noqa: E501 + + :return: The path of this V1CephFSVolumeSource. # noqa: E501 + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """Sets the path of this V1CephFSVolumeSource. + + path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / # noqa: E501 + + :param path: The path of this V1CephFSVolumeSource. # noqa: E501 + :type: str + """ + + self._path = path + + @property + def read_only(self): + """Gets the read_only of this V1CephFSVolumeSource. # noqa: E501 + + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The read_only of this V1CephFSVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1CephFSVolumeSource. + + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param read_only: The read_only of this V1CephFSVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def secret_file(self): + """Gets the secret_file of this V1CephFSVolumeSource. # noqa: E501 + + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The secret_file of this V1CephFSVolumeSource. # noqa: E501 + :rtype: str + """ + return self._secret_file + + @secret_file.setter + def secret_file(self, secret_file): + """Sets the secret_file of this V1CephFSVolumeSource. + + secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param secret_file: The secret_file of this V1CephFSVolumeSource. # noqa: E501 + :type: str + """ + + self._secret_file = secret_file + + @property + def secret_ref(self): + """Gets the secret_ref of this V1CephFSVolumeSource. # noqa: E501 + + + :return: The secret_ref of this V1CephFSVolumeSource. # noqa: E501 + :rtype: V1LocalObjectReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """Sets the secret_ref of this V1CephFSVolumeSource. + + + :param secret_ref: The secret_ref of this V1CephFSVolumeSource. # noqa: E501 + :type: V1LocalObjectReference + """ + + self._secret_ref = secret_ref + + @property + def user(self): + """Gets the user of this V1CephFSVolumeSource. # noqa: E501 + + user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :return: The user of this V1CephFSVolumeSource. # noqa: E501 + :rtype: str + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this V1CephFSVolumeSource. + + user is optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it # noqa: E501 + + :param user: The user of this V1CephFSVolumeSource. # noqa: E501 + :type: str + """ + + self._user = user + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CephFSVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CephFSVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request.py new file mode 100644 index 0000000000000000000000000000000000000000..70e13cc48b52118189d8fc8464fecbb547bb962b --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request.py @@ -0,0 +1,229 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CertificateSigningRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1CertificateSigningRequestSpec', + 'status': 'V1CertificateSigningRequestStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1CertificateSigningRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1CertificateSigningRequest. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CertificateSigningRequest. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CertificateSigningRequest. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CertificateSigningRequest. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1CertificateSigningRequest. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CertificateSigningRequest. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CertificateSigningRequest. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CertificateSigningRequest. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CertificateSigningRequest. # noqa: E501 + + + :return: The metadata of this V1CertificateSigningRequest. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CertificateSigningRequest. + + + :param metadata: The metadata of this V1CertificateSigningRequest. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1CertificateSigningRequest. # noqa: E501 + + + :return: The spec of this V1CertificateSigningRequest. # noqa: E501 + :rtype: V1CertificateSigningRequestSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1CertificateSigningRequest. + + + :param spec: The spec of this V1CertificateSigningRequest. # noqa: E501 + :type: V1CertificateSigningRequestSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1CertificateSigningRequest. # noqa: E501 + + + :return: The status of this V1CertificateSigningRequest. # noqa: E501 + :rtype: V1CertificateSigningRequestStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1CertificateSigningRequest. + + + :param status: The status of this V1CertificateSigningRequest. # noqa: E501 + :type: V1CertificateSigningRequestStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CertificateSigningRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CertificateSigningRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_condition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_condition.py new file mode 100644 index 0000000000000000000000000000000000000000..d43400ac57efe6fd6825214bc50195e41e8d6c55 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_condition.py @@ -0,0 +1,264 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CertificateSigningRequestCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'last_update_time': 'datetime', + 'message': 'str', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'last_update_time': 'lastUpdateTime', + 'message': 'message', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, last_update_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1CertificateSigningRequestCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._last_update_time = None + self._message = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + if last_transition_time is not None: + self.last_transition_time = last_transition_time + if last_update_time is not None: + self.last_update_time = last_update_time + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + self.status = status + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1CertificateSigningRequestCondition. # noqa: E501 + + lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time. # noqa: E501 + + :return: The last_transition_time of this V1CertificateSigningRequestCondition. # noqa: E501 + :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 V1CertificateSigningRequestCondition. + + lastTransitionTime is the time the condition last transitioned from one status to another. If unset, when a new condition type is added or an existing condition's status is changed, the server defaults this to the current time. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1CertificateSigningRequestCondition. # noqa: E501 + :type: datetime + """ + + self._last_transition_time = last_transition_time + + @property + def last_update_time(self): + """Gets the last_update_time of this V1CertificateSigningRequestCondition. # noqa: E501 + + lastUpdateTime is the time of the last update to this condition # noqa: E501 + + :return: The last_update_time of this V1CertificateSigningRequestCondition. # noqa: E501 + :rtype: datetime + """ + return self._last_update_time + + @last_update_time.setter + def last_update_time(self, last_update_time): + """Sets the last_update_time of this V1CertificateSigningRequestCondition. + + lastUpdateTime is the time of the last update to this condition # noqa: E501 + + :param last_update_time: The last_update_time of this V1CertificateSigningRequestCondition. # noqa: E501 + :type: datetime + """ + + self._last_update_time = last_update_time + + @property + def message(self): + """Gets the message of this V1CertificateSigningRequestCondition. # noqa: E501 + + message contains a human readable message with details about the request state # noqa: E501 + + :return: The message of this V1CertificateSigningRequestCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1CertificateSigningRequestCondition. + + message contains a human readable message with details about the request state # noqa: E501 + + :param message: The message of this V1CertificateSigningRequestCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1CertificateSigningRequestCondition. # noqa: E501 + + reason indicates a brief reason for the request state # noqa: E501 + + :return: The reason of this V1CertificateSigningRequestCondition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1CertificateSigningRequestCondition. + + reason indicates a brief reason for the request state # noqa: E501 + + :param reason: The reason of this V1CertificateSigningRequestCondition. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1CertificateSigningRequestCondition. # noqa: E501 + + status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". # noqa: E501 + + :return: The status of this V1CertificateSigningRequestCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1CertificateSigningRequestCondition. + + status of the condition, one of True, False, Unknown. Approved, Denied, and Failed conditions may not be \"False\" or \"Unknown\". # noqa: E501 + + :param status: The status of this V1CertificateSigningRequestCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def type(self): + """Gets the type of this V1CertificateSigningRequestCondition. # noqa: E501 + + type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. # noqa: E501 + + :return: The type of this V1CertificateSigningRequestCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1CertificateSigningRequestCondition. + + type of the condition. Known conditions are \"Approved\", \"Denied\", and \"Failed\". An \"Approved\" condition is added via the /approval subresource, indicating the request was approved and should be issued by the signer. A \"Denied\" condition is added via the /approval subresource, indicating the request was denied and should not be issued by the signer. A \"Failed\" condition is added via the /status subresource, indicating the signer failed to issue the certificate. Approved and Denied conditions are mutually exclusive. Approved, Denied, and Failed conditions cannot be removed once added. Only one condition of a given type is allowed. # noqa: E501 + + :param type: The type of this V1CertificateSigningRequestCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CertificateSigningRequestCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CertificateSigningRequestCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_list.py new file mode 100644 index 0000000000000000000000000000000000000000..e1bf34098a592ddebc9834182f0788d2ec0f5539 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CertificateSigningRequestList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1CertificateSigningRequest]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1CertificateSigningRequestList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1CertificateSigningRequestList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CertificateSigningRequestList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CertificateSigningRequestList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CertificateSigningRequestList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1CertificateSigningRequestList. # noqa: E501 + + items is a collection of CertificateSigningRequest objects # noqa: E501 + + :return: The items of this V1CertificateSigningRequestList. # noqa: E501 + :rtype: list[V1CertificateSigningRequest] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1CertificateSigningRequestList. + + items is a collection of CertificateSigningRequest objects # noqa: E501 + + :param items: The items of this V1CertificateSigningRequestList. # noqa: E501 + :type: list[V1CertificateSigningRequest] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1CertificateSigningRequestList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CertificateSigningRequestList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CertificateSigningRequestList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CertificateSigningRequestList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CertificateSigningRequestList. # noqa: E501 + + + :return: The metadata of this V1CertificateSigningRequestList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CertificateSigningRequestList. + + + :param metadata: The metadata of this V1CertificateSigningRequestList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CertificateSigningRequestList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CertificateSigningRequestList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..89f2829297ae7f34b241bc1267972eb221238c14 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_spec.py @@ -0,0 +1,323 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CertificateSigningRequestSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'expiration_seconds': 'int', + 'extra': 'dict(str, list[str])', + 'groups': 'list[str]', + 'request': 'str', + 'signer_name': 'str', + 'uid': 'str', + 'usages': 'list[str]', + 'username': 'str' + } + + attribute_map = { + 'expiration_seconds': 'expirationSeconds', + 'extra': 'extra', + 'groups': 'groups', + 'request': 'request', + 'signer_name': 'signerName', + 'uid': 'uid', + 'usages': 'usages', + 'username': 'username' + } + + def __init__(self, expiration_seconds=None, extra=None, groups=None, request=None, signer_name=None, uid=None, usages=None, username=None, local_vars_configuration=None): # noqa: E501 + """V1CertificateSigningRequestSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._expiration_seconds = None + self._extra = None + self._groups = None + self._request = None + self._signer_name = None + self._uid = None + self._usages = None + self._username = None + self.discriminator = None + + if expiration_seconds is not None: + self.expiration_seconds = expiration_seconds + if extra is not None: + self.extra = extra + if groups is not None: + self.groups = groups + self.request = request + self.signer_name = signer_name + if uid is not None: + self.uid = uid + if usages is not None: + self.usages = usages + if username is not None: + self.username = username + + @property + def expiration_seconds(self): + """Gets the expiration_seconds of this V1CertificateSigningRequestSpec. # noqa: E501 + + expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration. The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager. Certificate signers may not honor this field for various reasons: 1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22) 2. Signer whose configured maximum is shorter than the requested duration 3. Signer whose configured minimum is longer than the requested duration The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. # noqa: E501 + + :return: The expiration_seconds of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: int + """ + return self._expiration_seconds + + @expiration_seconds.setter + def expiration_seconds(self, expiration_seconds): + """Sets the expiration_seconds of this V1CertificateSigningRequestSpec. + + expirationSeconds is the requested duration of validity of the issued certificate. The certificate signer may issue a certificate with a different validity duration so a client must check the delta between the notBefore and and notAfter fields in the issued certificate to determine the actual duration. The v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum duration they will honor per the --cluster-signing-duration CLI flag to the Kubernetes controller manager. Certificate signers may not honor this field for various reasons: 1. Old signer that is unaware of the field (such as the in-tree implementations prior to v1.22) 2. Signer whose configured maximum is shorter than the requested duration 3. Signer whose configured minimum is longer than the requested duration The minimum valid value for expirationSeconds is 600, i.e. 10 minutes. # noqa: E501 + + :param expiration_seconds: The expiration_seconds of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: int + """ + + self._expiration_seconds = expiration_seconds + + @property + def extra(self): + """Gets the extra of this V1CertificateSigningRequestSpec. # noqa: E501 + + extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :return: The extra of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: dict(str, list[str]) + """ + return self._extra + + @extra.setter + def extra(self, extra): + """Sets the extra of this V1CertificateSigningRequestSpec. + + extra contains extra attributes of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :param extra: The extra of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: dict(str, list[str]) + """ + + self._extra = extra + + @property + def groups(self): + """Gets the groups of this V1CertificateSigningRequestSpec. # noqa: E501 + + groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :return: The groups of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: list[str] + """ + return self._groups + + @groups.setter + def groups(self, groups): + """Sets the groups of this V1CertificateSigningRequestSpec. + + groups contains group membership of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :param groups: The groups of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: list[str] + """ + + self._groups = groups + + @property + def request(self): + """Gets the request of this V1CertificateSigningRequestSpec. # noqa: E501 + + request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded. # noqa: E501 + + :return: The request of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: str + """ + return self._request + + @request.setter + def request(self, request): + """Sets the request of this V1CertificateSigningRequestSpec. + + request contains an x509 certificate signing request encoded in a \"CERTIFICATE REQUEST\" PEM block. When serialized as JSON or YAML, the data is additionally base64-encoded. # noqa: E501 + + :param request: The request of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and request is None: # noqa: E501 + raise ValueError("Invalid value for `request`, must not be `None`") # noqa: E501 + if (self.local_vars_configuration.client_side_validation and + request is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', request)): # noqa: E501 + raise ValueError(r"Invalid value for `request`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._request = request + + @property + def signer_name(self): + """Gets the signer_name of this V1CertificateSigningRequestSpec. # noqa: E501 + + signerName indicates the requested signer, and is a qualified name. List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector. Well-known Kubernetes signers are: 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager. 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers Custom signerNames can also be specified. The signer defines: 1. Trust distribution: how trust (CA bundles) are distributed. 2. Permitted subjects: and behavior when a disallowed subject is requested. 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested. 4. Required, permitted, or forbidden key usages / extended key usages. 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin. 6. Whether or not requests for CA certificates are allowed. # noqa: E501 + + :return: The signer_name of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: str + """ + return self._signer_name + + @signer_name.setter + def signer_name(self, signer_name): + """Sets the signer_name of this V1CertificateSigningRequestSpec. + + signerName indicates the requested signer, and is a qualified name. List/watch requests for CertificateSigningRequests can filter on this field using a \"spec.signerName=NAME\" fieldSelector. Well-known Kubernetes signers are: 1. \"kubernetes.io/kube-apiserver-client\": issues client certificates that can be used to authenticate to kube-apiserver. Requests for this signer are never auto-approved by kube-controller-manager, can be issued by the \"csrsigning\" controller in kube-controller-manager. 2. \"kubernetes.io/kube-apiserver-client-kubelet\": issues client certificates that kubelets use to authenticate to kube-apiserver. Requests for this signer can be auto-approved by the \"csrapproving\" controller in kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. 3. \"kubernetes.io/kubelet-serving\" issues serving certificates that kubelets use to serve TLS endpoints, which kube-apiserver can connect to securely. Requests for this signer are never auto-approved by kube-controller-manager, and can be issued by the \"csrsigning\" controller in kube-controller-manager. More details are available at https://k8s.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers Custom signerNames can also be specified. The signer defines: 1. Trust distribution: how trust (CA bundles) are distributed. 2. Permitted subjects: and behavior when a disallowed subject is requested. 3. Required, permitted, or forbidden x509 extensions in the request (including whether subjectAltNames are allowed, which types, restrictions on allowed values) and behavior when a disallowed extension is requested. 4. Required, permitted, or forbidden key usages / extended key usages. 5. Expiration/certificate lifetime: whether it is fixed by the signer, configurable by the admin. 6. Whether or not requests for CA certificates are allowed. # noqa: E501 + + :param signer_name: The signer_name of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and signer_name is None: # noqa: E501 + raise ValueError("Invalid value for `signer_name`, must not be `None`") # noqa: E501 + + self._signer_name = signer_name + + @property + def uid(self): + """Gets the uid of this V1CertificateSigningRequestSpec. # noqa: E501 + + uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :return: The uid of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: str + """ + return self._uid + + @uid.setter + def uid(self, uid): + """Sets the uid of this V1CertificateSigningRequestSpec. + + uid contains the uid of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :param uid: The uid of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: str + """ + + self._uid = uid + + @property + def usages(self): + """Gets the usages of this V1CertificateSigningRequestSpec. # noqa: E501 + + usages specifies a set of key usages requested in the issued certificate. Requests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\". Requests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\". Valid values are: \"signing\", \"digital signature\", \"content commitment\", \"key encipherment\", \"key agreement\", \"data encipherment\", \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\", \"server auth\", \"client auth\", \"code signing\", \"email protection\", \"s/mime\", \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\", \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\" # noqa: E501 + + :return: The usages of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: list[str] + """ + return self._usages + + @usages.setter + def usages(self, usages): + """Sets the usages of this V1CertificateSigningRequestSpec. + + usages specifies a set of key usages requested in the issued certificate. Requests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\". Requests for TLS serving certificates typically request: \"key encipherment\", \"digital signature\", \"server auth\". Valid values are: \"signing\", \"digital signature\", \"content commitment\", \"key encipherment\", \"key agreement\", \"data encipherment\", \"cert sign\", \"crl sign\", \"encipher only\", \"decipher only\", \"any\", \"server auth\", \"client auth\", \"code signing\", \"email protection\", \"s/mime\", \"ipsec end system\", \"ipsec tunnel\", \"ipsec user\", \"timestamping\", \"ocsp signing\", \"microsoft sgc\", \"netscape sgc\" # noqa: E501 + + :param usages: The usages of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: list[str] + """ + + self._usages = usages + + @property + def username(self): + """Gets the username of this V1CertificateSigningRequestSpec. # noqa: E501 + + username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :return: The username of this V1CertificateSigningRequestSpec. # noqa: E501 + :rtype: str + """ + return self._username + + @username.setter + def username(self, username): + """Sets the username of this V1CertificateSigningRequestSpec. + + username contains the name of the user that created the CertificateSigningRequest. Populated by the API server on creation and immutable. # noqa: E501 + + :param username: The username of this V1CertificateSigningRequestSpec. # noqa: E501 + :type: str + """ + + self._username = username + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CertificateSigningRequestSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CertificateSigningRequestSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_status.py new file mode 100644 index 0000000000000000000000000000000000000000..21acbf5374d9aa847c377b8882333640fb5c2c90 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_certificate_signing_request_status.py @@ -0,0 +1,153 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CertificateSigningRequestStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'certificate': 'str', + 'conditions': 'list[V1CertificateSigningRequestCondition]' + } + + attribute_map = { + 'certificate': 'certificate', + 'conditions': 'conditions' + } + + def __init__(self, certificate=None, conditions=None, local_vars_configuration=None): # noqa: E501 + """V1CertificateSigningRequestStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._certificate = None + self._conditions = None + self.discriminator = None + + if certificate is not None: + self.certificate = certificate + if conditions is not None: + self.conditions = conditions + + @property + def certificate(self): + """Gets the certificate of this V1CertificateSigningRequestStatus. # noqa: E501 + + certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificate must contain one or more PEM blocks. 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280. 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468. If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. The certificate is encoded in PEM format. When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of: base64( -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- ) # noqa: E501 + + :return: The certificate of this V1CertificateSigningRequestStatus. # noqa: E501 + :rtype: str + """ + return self._certificate + + @certificate.setter + def certificate(self, certificate): + """Sets the certificate of this V1CertificateSigningRequestStatus. + + certificate is populated with an issued certificate by the signer after an Approved condition is present. This field is set via the /status subresource. Once populated, this field is immutable. If the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty. Validation requirements: 1. certificate must contain one or more PEM blocks. 2. All PEM blocks must have the \"CERTIFICATE\" label, contain no headers, and the encoded data must be a BER-encoded ASN.1 Certificate structure as described in section 4 of RFC5280. 3. Non-PEM content may appear before or after the \"CERTIFICATE\" PEM blocks and is unvalidated, to allow for explanatory text as described in section 5.2 of RFC7468. If more than one PEM block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. The certificate is encoded in PEM format. When serialized as JSON or YAML, the data is additionally base64-encoded, so it consists of: base64( -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- ) # noqa: E501 + + :param certificate: The certificate of this V1CertificateSigningRequestStatus. # noqa: E501 + :type: str + """ + if (self.local_vars_configuration.client_side_validation and + certificate is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', certificate)): # noqa: E501 + raise ValueError(r"Invalid value for `certificate`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._certificate = certificate + + @property + def conditions(self): + """Gets the conditions of this V1CertificateSigningRequestStatus. # noqa: E501 + + conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\". # noqa: E501 + + :return: The conditions of this V1CertificateSigningRequestStatus. # noqa: E501 + :rtype: list[V1CertificateSigningRequestCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1CertificateSigningRequestStatus. + + conditions applied to the request. Known conditions are \"Approved\", \"Denied\", and \"Failed\". # noqa: E501 + + :param conditions: The conditions of this V1CertificateSigningRequestStatus. # noqa: E501 + :type: list[V1CertificateSigningRequestCondition] + """ + + self._conditions = conditions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CertificateSigningRequestStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CertificateSigningRequestStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cinder_persistent_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cinder_persistent_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..b6d57822175de9a637f081229016592344ccaa5c --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cinder_persistent_volume_source.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CinderPersistentVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'fs_type': 'str', + 'read_only': 'bool', + 'secret_ref': 'V1SecretReference', + 'volume_id': 'str' + } + + attribute_map = { + 'fs_type': 'fsType', + 'read_only': 'readOnly', + 'secret_ref': 'secretRef', + 'volume_id': 'volumeID' + } + + def __init__(self, fs_type=None, read_only=None, secret_ref=None, volume_id=None, local_vars_configuration=None): # noqa: E501 + """V1CinderPersistentVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._fs_type = None + self._read_only = None + self._secret_ref = None + self._volume_id = None + self.discriminator = None + + if fs_type is not None: + self.fs_type = fs_type + if read_only is not None: + self.read_only = read_only + if secret_ref is not None: + self.secret_ref = secret_ref + self.volume_id = volume_id + + @property + def fs_type(self): + """Gets the fs_type of this V1CinderPersistentVolumeSource. # noqa: E501 + + fsType 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: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :return: The fs_type of this V1CinderPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """Sets the fs_type of this V1CinderPersistentVolumeSource. + + fsType 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: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :param fs_type: The fs_type of this V1CinderPersistentVolumeSource. # noqa: E501 + :type: str + """ + + self._fs_type = fs_type + + @property + def read_only(self): + """Gets the read_only of this V1CinderPersistentVolumeSource. # noqa: E501 + + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :return: The read_only of this V1CinderPersistentVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1CinderPersistentVolumeSource. + + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :param read_only: The read_only of this V1CinderPersistentVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def secret_ref(self): + """Gets the secret_ref of this V1CinderPersistentVolumeSource. # noqa: E501 + + + :return: The secret_ref of this V1CinderPersistentVolumeSource. # noqa: E501 + :rtype: V1SecretReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """Sets the secret_ref of this V1CinderPersistentVolumeSource. + + + :param secret_ref: The secret_ref of this V1CinderPersistentVolumeSource. # noqa: E501 + :type: V1SecretReference + """ + + self._secret_ref = secret_ref + + @property + def volume_id(self): + """Gets the volume_id of this V1CinderPersistentVolumeSource. # noqa: E501 + + volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :return: The volume_id of this V1CinderPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._volume_id + + @volume_id.setter + def volume_id(self, volume_id): + """Sets the volume_id of this V1CinderPersistentVolumeSource. + + volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :param volume_id: The volume_id of this V1CinderPersistentVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and volume_id is None: # noqa: E501 + raise ValueError("Invalid value for `volume_id`, must not be `None`") # noqa: E501 + + self._volume_id = volume_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CinderPersistentVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CinderPersistentVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cinder_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cinder_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..a1ca80f100f194e3ca684bb835c453cb50c19f02 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cinder_volume_source.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CinderVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'fs_type': 'str', + 'read_only': 'bool', + 'secret_ref': 'V1LocalObjectReference', + 'volume_id': 'str' + } + + attribute_map = { + 'fs_type': 'fsType', + 'read_only': 'readOnly', + 'secret_ref': 'secretRef', + 'volume_id': 'volumeID' + } + + def __init__(self, fs_type=None, read_only=None, secret_ref=None, volume_id=None, local_vars_configuration=None): # noqa: E501 + """V1CinderVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._fs_type = None + self._read_only = None + self._secret_ref = None + self._volume_id = None + self.discriminator = None + + if fs_type is not None: + self.fs_type = fs_type + if read_only is not None: + self.read_only = read_only + if secret_ref is not None: + self.secret_ref = secret_ref + self.volume_id = volume_id + + @property + def fs_type(self): + """Gets the fs_type of this V1CinderVolumeSource. # noqa: E501 + + fsType is the 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: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :return: The fs_type of this V1CinderVolumeSource. # noqa: E501 + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """Sets the fs_type of this V1CinderVolumeSource. + + fsType is the 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: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :param fs_type: The fs_type of this V1CinderVolumeSource. # noqa: E501 + :type: str + """ + + self._fs_type = fs_type + + @property + def read_only(self): + """Gets the read_only of this V1CinderVolumeSource. # noqa: E501 + + readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :return: The read_only of this V1CinderVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1CinderVolumeSource. + + readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :param read_only: The read_only of this V1CinderVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def secret_ref(self): + """Gets the secret_ref of this V1CinderVolumeSource. # noqa: E501 + + + :return: The secret_ref of this V1CinderVolumeSource. # noqa: E501 + :rtype: V1LocalObjectReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """Sets the secret_ref of this V1CinderVolumeSource. + + + :param secret_ref: The secret_ref of this V1CinderVolumeSource. # noqa: E501 + :type: V1LocalObjectReference + """ + + self._secret_ref = secret_ref + + @property + def volume_id(self): + """Gets the volume_id of this V1CinderVolumeSource. # noqa: E501 + + volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :return: The volume_id of this V1CinderVolumeSource. # noqa: E501 + :rtype: str + """ + return self._volume_id + + @volume_id.setter + def volume_id(self, volume_id): + """Sets the volume_id of this V1CinderVolumeSource. + + volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md # noqa: E501 + + :param volume_id: The volume_id of this V1CinderVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and volume_id is None: # noqa: E501 + raise ValueError("Invalid value for `volume_id`, must not be `None`") # noqa: E501 + + self._volume_id = volume_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CinderVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CinderVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_client_ip_config.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_client_ip_config.py new file mode 100644 index 0000000000000000000000000000000000000000..2b769f6b12316e27bf2bc615a7b64df8923155b3 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_client_ip_config.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ClientIPConfig(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'timeout_seconds': 'int' + } + + attribute_map = { + 'timeout_seconds': 'timeoutSeconds' + } + + def __init__(self, timeout_seconds=None, local_vars_configuration=None): # noqa: E501 + """V1ClientIPConfig - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._timeout_seconds = None + self.discriminator = None + + if timeout_seconds is not None: + self.timeout_seconds = timeout_seconds + + @property + def timeout_seconds(self): + """Gets the timeout_seconds of this V1ClientIPConfig. # noqa: E501 + + timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours). # noqa: E501 + + :return: The timeout_seconds of this V1ClientIPConfig. # noqa: E501 + :rtype: int + """ + return self._timeout_seconds + + @timeout_seconds.setter + def timeout_seconds(self, timeout_seconds): + """Sets the timeout_seconds of this V1ClientIPConfig. + + timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours). # noqa: E501 + + :param timeout_seconds: The timeout_seconds of this V1ClientIPConfig. # noqa: E501 + :type: int + """ + + self._timeout_seconds = timeout_seconds + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ClientIPConfig): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ClientIPConfig): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role.py new file mode 100644 index 0000000000000000000000000000000000000000..d2484590ad4dda3966d34764673273068c517477 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role.py @@ -0,0 +1,230 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ClusterRole(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'aggregation_rule': 'V1AggregationRule', + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'rules': 'list[V1PolicyRule]' + } + + attribute_map = { + 'aggregation_rule': 'aggregationRule', + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'rules': 'rules' + } + + def __init__(self, aggregation_rule=None, api_version=None, kind=None, metadata=None, rules=None, local_vars_configuration=None): # noqa: E501 + """V1ClusterRole - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._aggregation_rule = None + self._api_version = None + self._kind = None + self._metadata = None + self._rules = None + self.discriminator = None + + if aggregation_rule is not None: + self.aggregation_rule = aggregation_rule + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if rules is not None: + self.rules = rules + + @property + def aggregation_rule(self): + """Gets the aggregation_rule of this V1ClusterRole. # noqa: E501 + + + :return: The aggregation_rule of this V1ClusterRole. # noqa: E501 + :rtype: V1AggregationRule + """ + return self._aggregation_rule + + @aggregation_rule.setter + def aggregation_rule(self, aggregation_rule): + """Sets the aggregation_rule of this V1ClusterRole. + + + :param aggregation_rule: The aggregation_rule of this V1ClusterRole. # noqa: E501 + :type: V1AggregationRule + """ + + self._aggregation_rule = aggregation_rule + + @property + def api_version(self): + """Gets the api_version of this V1ClusterRole. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ClusterRole. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ClusterRole. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1ClusterRole. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ClusterRole. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ClusterRole. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ClusterRole. # noqa: E501 + + + :return: The metadata of this V1ClusterRole. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ClusterRole. + + + :param metadata: The metadata of this V1ClusterRole. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def rules(self): + """Gets the rules of this V1ClusterRole. # noqa: E501 + + Rules holds all the PolicyRules for this ClusterRole # noqa: E501 + + :return: The rules of this V1ClusterRole. # noqa: E501 + :rtype: list[V1PolicyRule] + """ + return self._rules + + @rules.setter + def rules(self, rules): + """Sets the rules of this V1ClusterRole. + + Rules holds all the PolicyRules for this ClusterRole # noqa: E501 + + :param rules: The rules of this V1ClusterRole. # noqa: E501 + :type: list[V1PolicyRule] + """ + + self._rules = rules + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ClusterRole): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ClusterRole): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_binding.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_binding.py new file mode 100644 index 0000000000000000000000000000000000000000..f561e029fa10c38eeb7e4229c57c894008a7edd3 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_binding.py @@ -0,0 +1,231 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ClusterRoleBinding(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'role_ref': 'V1RoleRef', + 'subjects': 'list[RbacV1Subject]' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'role_ref': 'roleRef', + 'subjects': 'subjects' + } + + def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, subjects=None, local_vars_configuration=None): # noqa: E501 + """V1ClusterRoleBinding - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._role_ref = None + self._subjects = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.role_ref = role_ref + if subjects is not None: + self.subjects = subjects + + @property + def api_version(self): + """Gets the api_version of this V1ClusterRoleBinding. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ClusterRoleBinding. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ClusterRoleBinding. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1ClusterRoleBinding. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ClusterRoleBinding. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ClusterRoleBinding. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ClusterRoleBinding. # noqa: E501 + + + :return: The metadata of this V1ClusterRoleBinding. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ClusterRoleBinding. + + + :param metadata: The metadata of this V1ClusterRoleBinding. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def role_ref(self): + """Gets the role_ref of this V1ClusterRoleBinding. # noqa: E501 + + + :return: The role_ref of this V1ClusterRoleBinding. # noqa: E501 + :rtype: V1RoleRef + """ + return self._role_ref + + @role_ref.setter + def role_ref(self, role_ref): + """Sets the role_ref of this V1ClusterRoleBinding. + + + :param role_ref: The role_ref of this V1ClusterRoleBinding. # noqa: E501 + :type: V1RoleRef + """ + if self.local_vars_configuration.client_side_validation and role_ref is None: # noqa: E501 + raise ValueError("Invalid value for `role_ref`, must not be `None`") # noqa: E501 + + self._role_ref = role_ref + + @property + def subjects(self): + """Gets the subjects of this V1ClusterRoleBinding. # noqa: E501 + + Subjects holds references to the objects the role applies to. # noqa: E501 + + :return: The subjects of this V1ClusterRoleBinding. # noqa: E501 + :rtype: list[RbacV1Subject] + """ + return self._subjects + + @subjects.setter + def subjects(self, subjects): + """Sets the subjects of this V1ClusterRoleBinding. + + Subjects holds references to the objects the role applies to. # noqa: E501 + + :param subjects: The subjects of this V1ClusterRoleBinding. # noqa: E501 + :type: list[RbacV1Subject] + """ + + self._subjects = subjects + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ClusterRoleBinding): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ClusterRoleBinding): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_binding_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_binding_list.py new file mode 100644 index 0000000000000000000000000000000000000000..821ac348ab7067e1f9110b227000dcd07067def2 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_binding_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ClusterRoleBindingList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1ClusterRoleBinding]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1ClusterRoleBindingList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1ClusterRoleBindingList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ClusterRoleBindingList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ClusterRoleBindingList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1ClusterRoleBindingList. # noqa: E501 + + Items is a list of ClusterRoleBindings # noqa: E501 + + :return: The items of this V1ClusterRoleBindingList. # noqa: E501 + :rtype: list[V1ClusterRoleBinding] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ClusterRoleBindingList. + + Items is a list of ClusterRoleBindings # noqa: E501 + + :param items: The items of this V1ClusterRoleBindingList. # noqa: E501 + :type: list[V1ClusterRoleBinding] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1ClusterRoleBindingList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ClusterRoleBindingList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ClusterRoleBindingList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ClusterRoleBindingList. # noqa: E501 + + + :return: The metadata of this V1ClusterRoleBindingList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ClusterRoleBindingList. + + + :param metadata: The metadata of this V1ClusterRoleBindingList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ClusterRoleBindingList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ClusterRoleBindingList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_list.py new file mode 100644 index 0000000000000000000000000000000000000000..a7f2e94f5167898be44d05bb2f9dc67bdfb1fe0e --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_role_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ClusterRoleList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1ClusterRole]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1ClusterRoleList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1ClusterRoleList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ClusterRoleList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ClusterRoleList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1ClusterRoleList. # noqa: E501 + + Items is a list of ClusterRoles # noqa: E501 + + :return: The items of this V1ClusterRoleList. # noqa: E501 + :rtype: list[V1ClusterRole] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ClusterRoleList. + + Items is a list of ClusterRoles # noqa: E501 + + :param items: The items of this V1ClusterRoleList. # noqa: E501 + :type: list[V1ClusterRole] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1ClusterRoleList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ClusterRoleList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + 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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ClusterRoleList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ClusterRoleList. # noqa: E501 + + + :return: The metadata of this V1ClusterRoleList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ClusterRoleList. + + + :param metadata: The metadata of this V1ClusterRoleList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ClusterRoleList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ClusterRoleList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_trust_bundle_projection.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_trust_bundle_projection.py new file mode 100644 index 0000000000000000000000000000000000000000..6c9d1cb0d379d71e6769e10eb2d7e5f975eddcdd --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cluster_trust_bundle_projection.py @@ -0,0 +1,233 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ClusterTrustBundleProjection(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'label_selector': 'V1LabelSelector', + 'name': 'str', + 'optional': 'bool', + 'path': 'str', + 'signer_name': 'str' + } + + attribute_map = { + 'label_selector': 'labelSelector', + 'name': 'name', + 'optional': 'optional', + 'path': 'path', + 'signer_name': 'signerName' + } + + def __init__(self, label_selector=None, name=None, optional=None, path=None, signer_name=None, local_vars_configuration=None): # noqa: E501 + """V1ClusterTrustBundleProjection - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._label_selector = None + self._name = None + self._optional = None + self._path = None + self._signer_name = None + self.discriminator = None + + if label_selector is not None: + self.label_selector = label_selector + if name is not None: + self.name = name + if optional is not None: + self.optional = optional + self.path = path + if signer_name is not None: + self.signer_name = signer_name + + @property + def label_selector(self): + """Gets the label_selector of this V1ClusterTrustBundleProjection. # noqa: E501 + + + :return: The label_selector of this V1ClusterTrustBundleProjection. # noqa: E501 + :rtype: V1LabelSelector + """ + return self._label_selector + + @label_selector.setter + def label_selector(self, label_selector): + """Sets the label_selector of this V1ClusterTrustBundleProjection. + + + :param label_selector: The label_selector of this V1ClusterTrustBundleProjection. # noqa: E501 + :type: V1LabelSelector + """ + + self._label_selector = label_selector + + @property + def name(self): + """Gets the name of this V1ClusterTrustBundleProjection. # noqa: E501 + + Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector. # noqa: E501 + + :return: The name of this V1ClusterTrustBundleProjection. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ClusterTrustBundleProjection. + + Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector. # noqa: E501 + + :param name: The name of this V1ClusterTrustBundleProjection. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def optional(self): + """Gets the optional of this V1ClusterTrustBundleProjection. # noqa: E501 + + If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles. # noqa: E501 + + :return: The optional of this V1ClusterTrustBundleProjection. # noqa: E501 + :rtype: bool + """ + return self._optional + + @optional.setter + def optional(self, optional): + """Sets the optional of this V1ClusterTrustBundleProjection. + + If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles. # noqa: E501 + + :param optional: The optional of this V1ClusterTrustBundleProjection. # noqa: E501 + :type: bool + """ + + self._optional = optional + + @property + def path(self): + """Gets the path of this V1ClusterTrustBundleProjection. # noqa: E501 + + Relative path from the volume root to write the bundle. # noqa: E501 + + :return: The path of this V1ClusterTrustBundleProjection. # noqa: E501 + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """Sets the path of this V1ClusterTrustBundleProjection. + + Relative path from the volume root to write the bundle. # noqa: E501 + + :param path: The path of this V1ClusterTrustBundleProjection. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and path is None: # noqa: E501 + raise ValueError("Invalid value for `path`, must not be `None`") # noqa: E501 + + self._path = path + + @property + def signer_name(self): + """Gets the signer_name of this V1ClusterTrustBundleProjection. # noqa: E501 + + Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated. # noqa: E501 + + :return: The signer_name of this V1ClusterTrustBundleProjection. # noqa: E501 + :rtype: str + """ + return self._signer_name + + @signer_name.setter + def signer_name(self, signer_name): + """Sets the signer_name of this V1ClusterTrustBundleProjection. + + Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated. # noqa: E501 + + :param signer_name: The signer_name of this V1ClusterTrustBundleProjection. # noqa: E501 + :type: str + """ + + self._signer_name = signer_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ClusterTrustBundleProjection): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ClusterTrustBundleProjection): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_condition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_condition.py new file mode 100644 index 0000000000000000000000000000000000000000..4e1cb63a98715aea32694c0100d480226fb8ea24 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_condition.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ComponentCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'error': 'str', + 'message': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'error': 'error', + 'message': 'message', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, error=None, message=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1ComponentCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._error = None + self._message = None + self._status = None + self._type = None + self.discriminator = None + + if error is not None: + self.error = error + if message is not None: + self.message = message + self.status = status + self.type = type + + @property + def error(self): + """Gets the error of this V1ComponentCondition. # noqa: E501 + + Condition error code for a component. For example, a health check error code. # noqa: E501 + + :return: The error of this V1ComponentCondition. # noqa: E501 + :rtype: str + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this V1ComponentCondition. + + Condition error code for a component. For example, a health check error code. # noqa: E501 + + :param error: The error of this V1ComponentCondition. # noqa: E501 + :type: str + """ + + self._error = error + + @property + def message(self): + """Gets the message of this V1ComponentCondition. # noqa: E501 + + Message about the condition for a component. For example, information about a health check. # noqa: E501 + + :return: The message of this V1ComponentCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1ComponentCondition. + + Message about the condition for a component. For example, information about a health check. # noqa: E501 + + :param message: The message of this V1ComponentCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def status(self): + """Gets the status of this V1ComponentCondition. # noqa: E501 + + Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". # noqa: E501 + + :return: The status of this V1ComponentCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1ComponentCondition. + + Status of the condition for a component. Valid values for \"Healthy\": \"True\", \"False\", or \"Unknown\". # noqa: E501 + + :param status: The status of this V1ComponentCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def type(self): + """Gets the type of this V1ComponentCondition. # noqa: E501 + + Type of condition for a component. Valid value: \"Healthy\" # noqa: E501 + + :return: The type of this V1ComponentCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1ComponentCondition. + + Type of condition for a component. Valid value: \"Healthy\" # noqa: E501 + + :param type: The type of this V1ComponentCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ComponentCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ComponentCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_status.py new file mode 100644 index 0000000000000000000000000000000000000000..08a464f5884b4ccec3f80d410ba583fdcb46d16d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_status.py @@ -0,0 +1,204 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ComponentStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'conditions': 'list[V1ComponentCondition]', + 'kind': 'str', + 'metadata': 'V1ObjectMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'conditions': 'conditions', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, conditions=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1ComponentStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._conditions = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if conditions is not None: + self.conditions = conditions + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1ComponentStatus. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ComponentStatus. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ComponentStatus. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ComponentStatus. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def conditions(self): + """Gets the conditions of this V1ComponentStatus. # noqa: E501 + + List of component conditions observed # noqa: E501 + + :return: The conditions of this V1ComponentStatus. # noqa: E501 + :rtype: list[V1ComponentCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1ComponentStatus. + + List of component conditions observed # noqa: E501 + + :param conditions: The conditions of this V1ComponentStatus. # noqa: E501 + :type: list[V1ComponentCondition] + """ + + self._conditions = conditions + + @property + def kind(self): + """Gets the kind of this V1ComponentStatus. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ComponentStatus. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ComponentStatus. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ComponentStatus. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ComponentStatus. # noqa: E501 + + + :return: The metadata of this V1ComponentStatus. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ComponentStatus. + + + :param metadata: The metadata of this V1ComponentStatus. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ComponentStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ComponentStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_status_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_status_list.py new file mode 100644 index 0000000000000000000000000000000000000000..80341c153247c7c26bc20434f6b8477338c0d7d4 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_component_status_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ComponentStatusList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1ComponentStatus]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1ComponentStatusList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1ComponentStatusList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ComponentStatusList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ComponentStatusList. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ComponentStatusList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1ComponentStatusList. # noqa: E501 + + List of ComponentStatus objects. # noqa: E501 + + :return: The items of this V1ComponentStatusList. # noqa: E501 + :rtype: list[V1ComponentStatus] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ComponentStatusList. + + List of ComponentStatus objects. # noqa: E501 + + :param items: The items of this V1ComponentStatusList. # noqa: E501 + :type: list[V1ComponentStatus] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1ComponentStatusList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ComponentStatusList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ComponentStatusList. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ComponentStatusList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ComponentStatusList. # noqa: E501 + + + :return: The metadata of this V1ComponentStatusList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ComponentStatusList. + + + :param metadata: The metadata of this V1ComponentStatusList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ComponentStatusList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ComponentStatusList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_condition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_condition.py new file mode 100644 index 0000000000000000000000000000000000000000..8f7228018797cc1af7821f446447b361ccb17db0 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_condition.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Condition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'message': 'str', + 'observed_generation': 'int', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'message': 'message', + 'observed_generation': 'observedGeneration', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, message=None, observed_generation=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1Condition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._message = None + self._observed_generation = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + self.last_transition_time = last_transition_time + self.message = message + if observed_generation is not None: + self.observed_generation = observed_generation + self.reason = reason + self.status = status + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1Condition. # noqa: E501 + + lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. # noqa: E501 + + :return: The last_transition_time of this V1Condition. # noqa: E501 + :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 V1Condition. + + lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1Condition. # noqa: E501 + :type: datetime + """ + if self.local_vars_configuration.client_side_validation and last_transition_time is None: # noqa: E501 + raise ValueError("Invalid value for `last_transition_time`, must not be `None`") # noqa: E501 + + self._last_transition_time = last_transition_time + + @property + def message(self): + """Gets the message of this V1Condition. # noqa: E501 + + message is a human readable message indicating details about the transition. This may be an empty string. # noqa: E501 + + :return: The message of this V1Condition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1Condition. + + message is a human readable message indicating details about the transition. This may be an empty string. # noqa: E501 + + :param message: The message of this V1Condition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501 + raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501 + + self._message = message + + @property + def observed_generation(self): + """Gets the observed_generation of this V1Condition. # noqa: E501 + + observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. # noqa: E501 + + :return: The observed_generation of this V1Condition. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1Condition. + + observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. # noqa: E501 + + :param observed_generation: The observed_generation of this V1Condition. # noqa: E501 + :type: int + """ + + self._observed_generation = observed_generation + + @property + def reason(self): + """Gets the reason of this V1Condition. # noqa: E501 + + reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. # noqa: E501 + + :return: The reason of this V1Condition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1Condition. + + reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. # noqa: E501 + + :param reason: The reason of this V1Condition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and reason is None: # noqa: E501 + raise ValueError("Invalid value for `reason`, must not be `None`") # noqa: E501 + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1Condition. # noqa: E501 + + status of the condition, one of True, False, Unknown. # noqa: E501 + + :return: The status of this V1Condition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1Condition. + + status of the condition, one of True, False, Unknown. # noqa: E501 + + :param status: The status of this V1Condition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def type(self): + """Gets the type of this V1Condition. # noqa: E501 + + type of condition in CamelCase or in foo.example.com/CamelCase. # noqa: E501 + + :return: The type of this V1Condition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1Condition. + + type of condition in CamelCase or in foo.example.com/CamelCase. # noqa: E501 + + :param type: The type of this V1Condition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Condition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Condition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map.py new file mode 100644 index 0000000000000000000000000000000000000000..88cac10596c25a01b31dfdb8564417bc96d1b036 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map.py @@ -0,0 +1,260 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ConfigMap(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'binary_data': 'dict(str, str)', + 'data': 'dict(str, str)', + 'immutable': 'bool', + 'kind': 'str', + 'metadata': 'V1ObjectMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'binary_data': 'binaryData', + 'data': 'data', + 'immutable': 'immutable', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, binary_data=None, data=None, immutable=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1ConfigMap - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._binary_data = None + self._data = None + self._immutable = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if binary_data is not None: + self.binary_data = binary_data + if data is not None: + self.data = data + if immutable is not None: + self.immutable = immutable + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1ConfigMap. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ConfigMap. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ConfigMap. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ConfigMap. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def binary_data(self): + """Gets the binary_data of this V1ConfigMap. # noqa: E501 + + BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. # noqa: E501 + + :return: The binary_data of this V1ConfigMap. # noqa: E501 + :rtype: dict(str, str) + """ + return self._binary_data + + @binary_data.setter + def binary_data(self, binary_data): + """Sets the binary_data of this V1ConfigMap. + + BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. # noqa: E501 + + :param binary_data: The binary_data of this V1ConfigMap. # noqa: E501 + :type: dict(str, str) + """ + + self._binary_data = binary_data + + @property + def data(self): + """Gets the data of this V1ConfigMap. # noqa: E501 + + Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. # noqa: E501 + + :return: The data of this V1ConfigMap. # noqa: E501 + :rtype: dict(str, str) + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this V1ConfigMap. + + Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. # noqa: E501 + + :param data: The data of this V1ConfigMap. # noqa: E501 + :type: dict(str, str) + """ + + self._data = data + + @property + def immutable(self): + """Gets the immutable of this V1ConfigMap. # noqa: E501 + + Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. # noqa: E501 + + :return: The immutable of this V1ConfigMap. # noqa: E501 + :rtype: bool + """ + return self._immutable + + @immutable.setter + def immutable(self, immutable): + """Sets the immutable of this V1ConfigMap. + + Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil. # noqa: E501 + + :param immutable: The immutable of this V1ConfigMap. # noqa: E501 + :type: bool + """ + + self._immutable = immutable + + @property + def kind(self): + """Gets the kind of this V1ConfigMap. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ConfigMap. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ConfigMap. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ConfigMap. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ConfigMap. # noqa: E501 + + + :return: The metadata of this V1ConfigMap. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ConfigMap. + + + :param metadata: The metadata of this V1ConfigMap. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ConfigMap): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ConfigMap): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_env_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_env_source.py new file mode 100644 index 0000000000000000000000000000000000000000..8dba3f131cf99c361754915b275793b2e103400b --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_env_source.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ConfigMapEnvSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'optional': 'bool' + } + + attribute_map = { + 'name': 'name', + 'optional': 'optional' + } + + def __init__(self, name=None, optional=None, local_vars_configuration=None): # noqa: E501 + """V1ConfigMapEnvSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._optional = None + self.discriminator = None + + if name is not None: + self.name = name + if optional is not None: + self.optional = optional + + @property + def name(self): + """Gets the name of this V1ConfigMapEnvSource. # noqa: E501 + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :return: The name of this V1ConfigMapEnvSource. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ConfigMapEnvSource. + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :param name: The name of this V1ConfigMapEnvSource. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def optional(self): + """Gets the optional of this V1ConfigMapEnvSource. # noqa: E501 + + Specify whether the ConfigMap must be defined # noqa: E501 + + :return: The optional of this V1ConfigMapEnvSource. # noqa: E501 + :rtype: bool + """ + return self._optional + + @optional.setter + def optional(self, optional): + """Sets the optional of this V1ConfigMapEnvSource. + + Specify whether the ConfigMap must be defined # noqa: E501 + + :param optional: The optional of this V1ConfigMapEnvSource. # noqa: E501 + :type: bool + """ + + self._optional = optional + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ConfigMapEnvSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ConfigMapEnvSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_key_selector.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_key_selector.py new file mode 100644 index 0000000000000000000000000000000000000000..ed7b9403a3e0950f7b096b4ec1b3bc00ad00878c --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_key_selector.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ConfigMapKeySelector(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'key': 'str', + 'name': 'str', + 'optional': 'bool' + } + + attribute_map = { + 'key': 'key', + 'name': 'name', + 'optional': 'optional' + } + + def __init__(self, key=None, name=None, optional=None, local_vars_configuration=None): # noqa: E501 + """V1ConfigMapKeySelector - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._key = None + self._name = None + self._optional = None + self.discriminator = None + + self.key = key + if name is not None: + self.name = name + if optional is not None: + self.optional = optional + + @property + def key(self): + """Gets the key of this V1ConfigMapKeySelector. # noqa: E501 + + The key to select. # noqa: E501 + + :return: The key of this V1ConfigMapKeySelector. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1ConfigMapKeySelector. + + The key to select. # noqa: E501 + + :param key: The key of this V1ConfigMapKeySelector. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def name(self): + """Gets the name of this V1ConfigMapKeySelector. # noqa: E501 + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :return: The name of this V1ConfigMapKeySelector. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ConfigMapKeySelector. + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :param name: The name of this V1ConfigMapKeySelector. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def optional(self): + """Gets the optional of this V1ConfigMapKeySelector. # noqa: E501 + + Specify whether the ConfigMap or its key must be defined # noqa: E501 + + :return: The optional of this V1ConfigMapKeySelector. # noqa: E501 + :rtype: bool + """ + return self._optional + + @optional.setter + def optional(self, optional): + """Sets the optional of this V1ConfigMapKeySelector. + + Specify whether the ConfigMap or its key must be defined # noqa: E501 + + :param optional: The optional of this V1ConfigMapKeySelector. # noqa: E501 + :type: bool + """ + + self._optional = optional + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ConfigMapKeySelector): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ConfigMapKeySelector): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_list.py new file mode 100644 index 0000000000000000000000000000000000000000..69f49776a746741d1222f02e434c83cf82210717 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ConfigMapList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1ConfigMap]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1ConfigMapList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1ConfigMapList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ConfigMapList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ConfigMapList. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ConfigMapList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1ConfigMapList. # noqa: E501 + + Items is the list of ConfigMaps. # noqa: E501 + + :return: The items of this V1ConfigMapList. # noqa: E501 + :rtype: list[V1ConfigMap] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ConfigMapList. + + Items is the list of ConfigMaps. # noqa: E501 + + :param items: The items of this V1ConfigMapList. # noqa: E501 + :type: list[V1ConfigMap] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1ConfigMapList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ConfigMapList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ConfigMapList. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ConfigMapList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ConfigMapList. # noqa: E501 + + + :return: The metadata of this V1ConfigMapList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ConfigMapList. + + + :param metadata: The metadata of this V1ConfigMapList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ConfigMapList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ConfigMapList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_node_config_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_node_config_source.py new file mode 100644 index 0000000000000000000000000000000000000000..3eff35e1c5588ebfdacc4ce7a16f03dc1052a68d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_node_config_source.py @@ -0,0 +1,237 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ConfigMapNodeConfigSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'kubelet_config_key': 'str', + 'name': 'str', + 'namespace': 'str', + 'resource_version': 'str', + 'uid': 'str' + } + + attribute_map = { + 'kubelet_config_key': 'kubeletConfigKey', + 'name': 'name', + 'namespace': 'namespace', + 'resource_version': 'resourceVersion', + 'uid': 'uid' + } + + def __init__(self, kubelet_config_key=None, name=None, namespace=None, resource_version=None, uid=None, local_vars_configuration=None): # noqa: E501 + """V1ConfigMapNodeConfigSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._kubelet_config_key = None + self._name = None + self._namespace = None + self._resource_version = None + self._uid = None + self.discriminator = None + + self.kubelet_config_key = kubelet_config_key + self.name = name + self.namespace = namespace + if resource_version is not None: + self.resource_version = resource_version + if uid is not None: + self.uid = uid + + @property + def kubelet_config_key(self): + """Gets the kubelet_config_key of this V1ConfigMapNodeConfigSource. # noqa: E501 + + KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. # noqa: E501 + + :return: The kubelet_config_key of this V1ConfigMapNodeConfigSource. # noqa: E501 + :rtype: str + """ + return self._kubelet_config_key + + @kubelet_config_key.setter + def kubelet_config_key(self, kubelet_config_key): + """Sets the kubelet_config_key of this V1ConfigMapNodeConfigSource. + + KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. # noqa: E501 + + :param kubelet_config_key: The kubelet_config_key of this V1ConfigMapNodeConfigSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and kubelet_config_key is None: # noqa: E501 + raise ValueError("Invalid value for `kubelet_config_key`, must not be `None`") # noqa: E501 + + self._kubelet_config_key = kubelet_config_key + + @property + def name(self): + """Gets the name of this V1ConfigMapNodeConfigSource. # noqa: E501 + + Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. # noqa: E501 + + :return: The name of this V1ConfigMapNodeConfigSource. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ConfigMapNodeConfigSource. + + Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. # noqa: E501 + + :param name: The name of this V1ConfigMapNodeConfigSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def namespace(self): + """Gets the namespace of this V1ConfigMapNodeConfigSource. # noqa: E501 + + Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. # noqa: E501 + + :return: The namespace of this V1ConfigMapNodeConfigSource. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this V1ConfigMapNodeConfigSource. + + Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. # noqa: E501 + + :param namespace: The namespace of this V1ConfigMapNodeConfigSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and namespace is None: # noqa: E501 + raise ValueError("Invalid value for `namespace`, must not be `None`") # noqa: E501 + + self._namespace = namespace + + @property + def resource_version(self): + """Gets the resource_version of this V1ConfigMapNodeConfigSource. # noqa: E501 + + ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. # noqa: E501 + + :return: The resource_version of this V1ConfigMapNodeConfigSource. # noqa: E501 + :rtype: str + """ + return self._resource_version + + @resource_version.setter + def resource_version(self, resource_version): + """Sets the resource_version of this V1ConfigMapNodeConfigSource. + + ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. # noqa: E501 + + :param resource_version: The resource_version of this V1ConfigMapNodeConfigSource. # noqa: E501 + :type: str + """ + + self._resource_version = resource_version + + @property + def uid(self): + """Gets the uid of this V1ConfigMapNodeConfigSource. # noqa: E501 + + UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. # noqa: E501 + + :return: The uid of this V1ConfigMapNodeConfigSource. # noqa: E501 + :rtype: str + """ + return self._uid + + @uid.setter + def uid(self, uid): + """Sets the uid of this V1ConfigMapNodeConfigSource. + + UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. # noqa: E501 + + :param uid: The uid of this V1ConfigMapNodeConfigSource. # noqa: E501 + :type: str + """ + + self._uid = uid + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ConfigMapNodeConfigSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ConfigMapNodeConfigSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_projection.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_projection.py new file mode 100644 index 0000000000000000000000000000000000000000..6ccb07284e2bfabb8d70c5ee6b3479e03757310f --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_projection.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ConfigMapProjection(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'items': 'list[V1KeyToPath]', + 'name': 'str', + 'optional': 'bool' + } + + attribute_map = { + 'items': 'items', + 'name': 'name', + 'optional': 'optional' + } + + def __init__(self, items=None, name=None, optional=None, local_vars_configuration=None): # noqa: E501 + """V1ConfigMapProjection - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._items = None + self._name = None + self._optional = None + self.discriminator = None + + if items is not None: + self.items = items + if name is not None: + self.name = name + if optional is not None: + self.optional = optional + + @property + def items(self): + """Gets the items of this V1ConfigMapProjection. # noqa: E501 + + items 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. # noqa: E501 + + :return: The items of this V1ConfigMapProjection. # noqa: E501 + :rtype: list[V1KeyToPath] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ConfigMapProjection. + + items 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. # noqa: E501 + + :param items: The items of this V1ConfigMapProjection. # noqa: E501 + :type: list[V1KeyToPath] + """ + + self._items = items + + @property + def name(self): + """Gets the name of this V1ConfigMapProjection. # noqa: E501 + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :return: The name of this V1ConfigMapProjection. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ConfigMapProjection. + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :param name: The name of this V1ConfigMapProjection. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def optional(self): + """Gets the optional of this V1ConfigMapProjection. # noqa: E501 + + optional specify whether the ConfigMap or its keys must be defined # noqa: E501 + + :return: The optional of this V1ConfigMapProjection. # noqa: E501 + :rtype: bool + """ + return self._optional + + @optional.setter + def optional(self, optional): + """Sets the optional of this V1ConfigMapProjection. + + optional specify whether the ConfigMap or its keys must be defined # noqa: E501 + + :param optional: The optional of this V1ConfigMapProjection. # noqa: E501 + :type: bool + """ + + self._optional = optional + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ConfigMapProjection): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ConfigMapProjection): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..2e11fb19ae235571ca3044001cef397d509fa3d9 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_config_map_volume_source.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ConfigMapVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'default_mode': 'int', + 'items': 'list[V1KeyToPath]', + 'name': 'str', + 'optional': 'bool' + } + + attribute_map = { + 'default_mode': 'defaultMode', + 'items': 'items', + 'name': 'name', + 'optional': 'optional' + } + + def __init__(self, default_mode=None, items=None, name=None, optional=None, local_vars_configuration=None): # noqa: E501 + """V1ConfigMapVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._default_mode = None + self._items = None + self._name = None + self._optional = None + self.discriminator = None + + if default_mode is not None: + self.default_mode = default_mode + if items is not None: + self.items = items + if name is not None: + self.name = name + if optional is not None: + self.optional = optional + + @property + def default_mode(self): + """Gets the default_mode of this V1ConfigMapVolumeSource. # noqa: E501 + + defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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. # noqa: E501 + + :return: The default_mode of this V1ConfigMapVolumeSource. # noqa: E501 + :rtype: int + """ + return self._default_mode + + @default_mode.setter + def default_mode(self, default_mode): + """Sets the default_mode of this V1ConfigMapVolumeSource. + + defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. 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. # noqa: E501 + + :param default_mode: The default_mode of this V1ConfigMapVolumeSource. # noqa: E501 + :type: int + """ + + self._default_mode = default_mode + + @property + def items(self): + """Gets the items of this V1ConfigMapVolumeSource. # noqa: E501 + + items 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. # noqa: E501 + + :return: The items of this V1ConfigMapVolumeSource. # noqa: E501 + :rtype: list[V1KeyToPath] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ConfigMapVolumeSource. + + items 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 unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'. # noqa: E501 + + :param items: The items of this V1ConfigMapVolumeSource. # noqa: E501 + :type: list[V1KeyToPath] + """ + + self._items = items + + @property + def name(self): + """Gets the name of this V1ConfigMapVolumeSource. # noqa: E501 + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :return: The name of this V1ConfigMapVolumeSource. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ConfigMapVolumeSource. + + Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :param name: The name of this V1ConfigMapVolumeSource. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def optional(self): + """Gets the optional of this V1ConfigMapVolumeSource. # noqa: E501 + + optional specify whether the ConfigMap or its keys must be defined # noqa: E501 + + :return: The optional of this V1ConfigMapVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._optional + + @optional.setter + def optional(self, optional): + """Sets the optional of this V1ConfigMapVolumeSource. + + optional specify whether the ConfigMap or its keys must be defined # noqa: E501 + + :param optional: The optional of this V1ConfigMapVolumeSource. # noqa: E501 + :type: bool + """ + + self._optional = optional + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ConfigMapVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ConfigMapVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container.py new file mode 100644 index 0000000000000000000000000000000000000000..4a0f81dd7c80da7c534b54dea1bb72973512bd2b --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container.py @@ -0,0 +1,783 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Container(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'args': 'list[str]', + 'command': 'list[str]', + 'env': 'list[V1EnvVar]', + 'env_from': 'list[V1EnvFromSource]', + 'image': 'str', + 'image_pull_policy': 'str', + 'lifecycle': 'V1Lifecycle', + 'liveness_probe': 'V1Probe', + 'name': 'str', + 'ports': 'list[V1ContainerPort]', + 'readiness_probe': 'V1Probe', + 'resize_policy': 'list[V1ContainerResizePolicy]', + 'resources': 'V1ResourceRequirements', + 'restart_policy': 'str', + 'restart_policy_rules': 'list[V1ContainerRestartRule]', + 'security_context': 'V1SecurityContext', + 'startup_probe': 'V1Probe', + 'stdin': 'bool', + 'stdin_once': 'bool', + 'termination_message_path': 'str', + 'termination_message_policy': 'str', + 'tty': 'bool', + 'volume_devices': 'list[V1VolumeDevice]', + 'volume_mounts': 'list[V1VolumeMount]', + 'working_dir': 'str' + } + + attribute_map = { + 'args': 'args', + 'command': 'command', + 'env': 'env', + 'env_from': 'envFrom', + 'image': 'image', + 'image_pull_policy': 'imagePullPolicy', + 'lifecycle': 'lifecycle', + 'liveness_probe': 'livenessProbe', + 'name': 'name', + 'ports': 'ports', + 'readiness_probe': 'readinessProbe', + 'resize_policy': 'resizePolicy', + 'resources': 'resources', + 'restart_policy': 'restartPolicy', + 'restart_policy_rules': 'restartPolicyRules', + 'security_context': 'securityContext', + 'startup_probe': 'startupProbe', + 'stdin': 'stdin', + 'stdin_once': 'stdinOnce', + 'termination_message_path': 'terminationMessagePath', + 'termination_message_policy': 'terminationMessagePolicy', + 'tty': 'tty', + 'volume_devices': 'volumeDevices', + 'volume_mounts': 'volumeMounts', + 'working_dir': 'workingDir' + } + + def __init__(self, args=None, command=None, env=None, env_from=None, image=None, image_pull_policy=None, lifecycle=None, liveness_probe=None, name=None, ports=None, readiness_probe=None, resize_policy=None, resources=None, restart_policy=None, restart_policy_rules=None, security_context=None, startup_probe=None, stdin=None, stdin_once=None, termination_message_path=None, termination_message_policy=None, tty=None, volume_devices=None, volume_mounts=None, working_dir=None, local_vars_configuration=None): # noqa: E501 + """V1Container - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._args = None + self._command = None + self._env = None + self._env_from = None + self._image = None + self._image_pull_policy = None + self._lifecycle = None + self._liveness_probe = None + self._name = None + self._ports = None + self._readiness_probe = None + self._resize_policy = None + self._resources = None + self._restart_policy = None + self._restart_policy_rules = None + self._security_context = None + self._startup_probe = None + self._stdin = None + self._stdin_once = None + self._termination_message_path = None + self._termination_message_policy = None + self._tty = None + self._volume_devices = None + self._volume_mounts = None + self._working_dir = None + self.discriminator = None + + if args is not None: + self.args = args + if command is not None: + self.command = command + if env is not None: + self.env = env + if env_from is not None: + self.env_from = env_from + if image is not None: + self.image = image + if image_pull_policy is not None: + self.image_pull_policy = image_pull_policy + if lifecycle is not None: + self.lifecycle = lifecycle + if liveness_probe is not None: + self.liveness_probe = liveness_probe + self.name = name + if ports is not None: + self.ports = ports + if readiness_probe is not None: + self.readiness_probe = readiness_probe + if resize_policy is not None: + self.resize_policy = resize_policy + if resources is not None: + self.resources = resources + if restart_policy is not None: + self.restart_policy = restart_policy + if restart_policy_rules is not None: + self.restart_policy_rules = restart_policy_rules + if security_context is not None: + self.security_context = security_context + if startup_probe is not None: + self.startup_probe = startup_probe + if stdin is not None: + self.stdin = stdin + if stdin_once is not None: + self.stdin_once = stdin_once + if termination_message_path is not None: + self.termination_message_path = termination_message_path + if termination_message_policy is not None: + self.termination_message_policy = termination_message_policy + if tty is not None: + self.tty = tty + if volume_devices is not None: + self.volume_devices = volume_devices + if volume_mounts is not None: + self.volume_mounts = volume_mounts + if working_dir is not None: + self.working_dir = working_dir + + @property + def args(self): + """Gets the args of this V1Container. # noqa: E501 + + Arguments to the entrypoint. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell # noqa: E501 + + :return: The args of this V1Container. # noqa: E501 + :rtype: list[str] + """ + return self._args + + @args.setter + def args(self, args): + """Sets the args of this V1Container. + + Arguments to the entrypoint. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell # noqa: E501 + + :param args: The args of this V1Container. # noqa: E501 + :type: list[str] + """ + + self._args = args + + @property + def command(self): + """Gets the command of this V1Container. # noqa: E501 + + Entrypoint array. Not executed within a shell. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell # noqa: E501 + + :return: The command of this V1Container. # noqa: E501 + :rtype: list[str] + """ + return self._command + + @command.setter + def command(self, command): + """Sets the command of this V1Container. + + Entrypoint array. Not executed within a shell. The container 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. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell # noqa: E501 + + :param command: The command of this V1Container. # noqa: E501 + :type: list[str] + """ + + self._command = command + + @property + def env(self): + """Gets the env of this V1Container. # noqa: E501 + + List of environment variables to set in the container. Cannot be updated. # noqa: E501 + + :return: The env of this V1Container. # noqa: E501 + :rtype: list[V1EnvVar] + """ + return self._env + + @env.setter + def env(self, env): + """Sets the env of this V1Container. + + List of environment variables to set in the container. Cannot be updated. # noqa: E501 + + :param env: The env of this V1Container. # noqa: E501 + :type: list[V1EnvVar] + """ + + self._env = env + + @property + def env_from(self): + """Gets the env_from of this V1Container. # noqa: E501 + + List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. # noqa: E501 + + :return: The env_from of this V1Container. # noqa: E501 + :rtype: list[V1EnvFromSource] + """ + return self._env_from + + @env_from.setter + def env_from(self, env_from): + """Sets the env_from of this V1Container. + + List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. # noqa: E501 + + :param env_from: The env_from of this V1Container. # noqa: E501 + :type: list[V1EnvFromSource] + """ + + self._env_from = env_from + + @property + def image(self): + """Gets the image of this V1Container. # noqa: E501 + + Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. # noqa: E501 + + :return: The image of this V1Container. # noqa: E501 + :rtype: str + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this V1Container. + + Container image name. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets. # noqa: E501 + + :param image: The image of this V1Container. # noqa: E501 + :type: str + """ + + self._image = image + + @property + def image_pull_policy(self): + """Gets the image_pull_policy of this V1Container. # noqa: E501 + + Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images # noqa: E501 + + :return: The image_pull_policy of this V1Container. # noqa: E501 + :rtype: str + """ + return self._image_pull_policy + + @image_pull_policy.setter + def image_pull_policy(self, image_pull_policy): + """Sets the image_pull_policy of this V1Container. + + Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images # noqa: E501 + + :param image_pull_policy: The image_pull_policy of this V1Container. # noqa: E501 + :type: str + """ + + self._image_pull_policy = image_pull_policy + + @property + def lifecycle(self): + """Gets the lifecycle of this V1Container. # noqa: E501 + + + :return: The lifecycle of this V1Container. # noqa: E501 + :rtype: V1Lifecycle + """ + return self._lifecycle + + @lifecycle.setter + def lifecycle(self, lifecycle): + """Sets the lifecycle of this V1Container. + + + :param lifecycle: The lifecycle of this V1Container. # noqa: E501 + :type: V1Lifecycle + """ + + self._lifecycle = lifecycle + + @property + def liveness_probe(self): + """Gets the liveness_probe of this V1Container. # noqa: E501 + + + :return: The liveness_probe of this V1Container. # noqa: E501 + :rtype: V1Probe + """ + return self._liveness_probe + + @liveness_probe.setter + def liveness_probe(self, liveness_probe): + """Sets the liveness_probe of this V1Container. + + + :param liveness_probe: The liveness_probe of this V1Container. # noqa: E501 + :type: V1Probe + """ + + self._liveness_probe = liveness_probe + + @property + def name(self): + """Gets the name of this V1Container. # noqa: E501 + + Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. # noqa: E501 + + :return: The name of this V1Container. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1Container. + + Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. # noqa: E501 + + :param name: The name of this V1Container. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def ports(self): + """Gets the ports of this V1Container. # noqa: E501 + + List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. # noqa: E501 + + :return: The ports of this V1Container. # noqa: E501 + :rtype: list[V1ContainerPort] + """ + return self._ports + + @ports.setter + def ports(self, ports): + """Sets the ports of this V1Container. + + List of ports to expose from the container. 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. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. # noqa: E501 + + :param ports: The ports of this V1Container. # noqa: E501 + :type: list[V1ContainerPort] + """ + + self._ports = ports + + @property + def readiness_probe(self): + """Gets the readiness_probe of this V1Container. # noqa: E501 + + + :return: The readiness_probe of this V1Container. # noqa: E501 + :rtype: V1Probe + """ + return self._readiness_probe + + @readiness_probe.setter + def readiness_probe(self, readiness_probe): + """Sets the readiness_probe of this V1Container. + + + :param readiness_probe: The readiness_probe of this V1Container. # noqa: E501 + :type: V1Probe + """ + + self._readiness_probe = readiness_probe + + @property + def resize_policy(self): + """Gets the resize_policy of this V1Container. # noqa: E501 + + Resources resize policy for the container. This field cannot be set on ephemeral containers. # noqa: E501 + + :return: The resize_policy of this V1Container. # noqa: E501 + :rtype: list[V1ContainerResizePolicy] + """ + return self._resize_policy + + @resize_policy.setter + def resize_policy(self, resize_policy): + """Sets the resize_policy of this V1Container. + + Resources resize policy for the container. This field cannot be set on ephemeral containers. # noqa: E501 + + :param resize_policy: The resize_policy of this V1Container. # noqa: E501 + :type: list[V1ContainerResizePolicy] + """ + + self._resize_policy = resize_policy + + @property + def resources(self): + """Gets the resources of this V1Container. # noqa: E501 + + + :return: The resources of this V1Container. # noqa: E501 + :rtype: V1ResourceRequirements + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this V1Container. + + + :param resources: The resources of this V1Container. # noqa: E501 + :type: V1ResourceRequirements + """ + + self._resources = resources + + @property + def restart_policy(self): + """Gets the restart_policy of this V1Container. # noqa: E501 + + RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. # noqa: E501 + + :return: The restart_policy of this V1Container. # noqa: E501 + :rtype: str + """ + return self._restart_policy + + @restart_policy.setter + def restart_policy(self, restart_policy): + """Sets the restart_policy of this V1Container. + + RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. # noqa: E501 + + :param restart_policy: The restart_policy of this V1Container. # noqa: E501 + :type: str + """ + + self._restart_policy = restart_policy + + @property + def restart_policy_rules(self): + """Gets the restart_policy_rules of this V1Container. # noqa: E501 + + Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy. # noqa: E501 + + :return: The restart_policy_rules of this V1Container. # noqa: E501 + :rtype: list[V1ContainerRestartRule] + """ + return self._restart_policy_rules + + @restart_policy_rules.setter + def restart_policy_rules(self, restart_policy_rules): + """Sets the restart_policy_rules of this V1Container. + + Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy. # noqa: E501 + + :param restart_policy_rules: The restart_policy_rules of this V1Container. # noqa: E501 + :type: list[V1ContainerRestartRule] + """ + + self._restart_policy_rules = restart_policy_rules + + @property + def security_context(self): + """Gets the security_context of this V1Container. # noqa: E501 + + + :return: The security_context of this V1Container. # noqa: E501 + :rtype: V1SecurityContext + """ + return self._security_context + + @security_context.setter + def security_context(self, security_context): + """Sets the security_context of this V1Container. + + + :param security_context: The security_context of this V1Container. # noqa: E501 + :type: V1SecurityContext + """ + + self._security_context = security_context + + @property + def startup_probe(self): + """Gets the startup_probe of this V1Container. # noqa: E501 + + + :return: The startup_probe of this V1Container. # noqa: E501 + :rtype: V1Probe + """ + return self._startup_probe + + @startup_probe.setter + def startup_probe(self, startup_probe): + """Sets the startup_probe of this V1Container. + + + :param startup_probe: The startup_probe of this V1Container. # noqa: E501 + :type: V1Probe + """ + + self._startup_probe = startup_probe + + @property + def stdin(self): + """Gets the stdin of this V1Container. # noqa: E501 + + 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. # noqa: E501 + + :return: The stdin of this V1Container. # noqa: E501 + :rtype: bool + """ + return self._stdin + + @stdin.setter + def stdin(self, stdin): + """Sets the stdin of this V1Container. + + 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. # noqa: E501 + + :param stdin: The stdin of this V1Container. # noqa: E501 + :type: bool + """ + + self._stdin = stdin + + @property + def stdin_once(self): + """Gets the stdin_once of this V1Container. # noqa: E501 + + 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 client attaches to stdin, and then remains open and accepts data until the 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 # noqa: E501 + + :return: The stdin_once of this V1Container. # noqa: E501 + :rtype: bool + """ + return self._stdin_once + + @stdin_once.setter + def stdin_once(self, stdin_once): + """Sets the stdin_once of this V1Container. + + 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 client attaches to stdin, and then remains open and accepts data until the 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 # noqa: E501 + + :param stdin_once: The stdin_once of this V1Container. # noqa: E501 + :type: bool + """ + + self._stdin_once = stdin_once + + @property + def termination_message_path(self): + """Gets the termination_message_path of this V1Container. # noqa: E501 + + 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. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. # noqa: E501 + + :return: The termination_message_path of this V1Container. # noqa: E501 + :rtype: str + """ + return self._termination_message_path + + @termination_message_path.setter + def termination_message_path(self, termination_message_path): + """Sets the termination_message_path of this V1Container. + + 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. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. # noqa: E501 + + :param termination_message_path: The termination_message_path of this V1Container. # noqa: E501 + :type: str + """ + + self._termination_message_path = termination_message_path + + @property + def termination_message_policy(self): + """Gets the termination_message_policy of this V1Container. # noqa: E501 + + Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. # noqa: E501 + + :return: The termination_message_policy of this V1Container. # noqa: E501 + :rtype: str + """ + return self._termination_message_policy + + @termination_message_policy.setter + def termination_message_policy(self, termination_message_policy): + """Sets the termination_message_policy of this V1Container. + + Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. # noqa: E501 + + :param termination_message_policy: The termination_message_policy of this V1Container. # noqa: E501 + :type: str + """ + + self._termination_message_policy = termination_message_policy + + @property + def tty(self): + """Gets the tty of this V1Container. # noqa: E501 + + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. # noqa: E501 + + :return: The tty of this V1Container. # noqa: E501 + :rtype: bool + """ + return self._tty + + @tty.setter + def tty(self, tty): + """Sets the tty of this V1Container. + + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. # noqa: E501 + + :param tty: The tty of this V1Container. # noqa: E501 + :type: bool + """ + + self._tty = tty + + @property + def volume_devices(self): + """Gets the volume_devices of this V1Container. # noqa: E501 + + volumeDevices is the list of block devices to be used by the container. # noqa: E501 + + :return: The volume_devices of this V1Container. # noqa: E501 + :rtype: list[V1VolumeDevice] + """ + return self._volume_devices + + @volume_devices.setter + def volume_devices(self, volume_devices): + """Sets the volume_devices of this V1Container. + + volumeDevices is the list of block devices to be used by the container. # noqa: E501 + + :param volume_devices: The volume_devices of this V1Container. # noqa: E501 + :type: list[V1VolumeDevice] + """ + + self._volume_devices = volume_devices + + @property + def volume_mounts(self): + """Gets the volume_mounts of this V1Container. # noqa: E501 + + Pod volumes to mount into the container's filesystem. Cannot be updated. # noqa: E501 + + :return: The volume_mounts of this V1Container. # noqa: E501 + :rtype: list[V1VolumeMount] + """ + return self._volume_mounts + + @volume_mounts.setter + def volume_mounts(self, volume_mounts): + """Sets the volume_mounts of this V1Container. + + Pod volumes to mount into the container's filesystem. Cannot be updated. # noqa: E501 + + :param volume_mounts: The volume_mounts of this V1Container. # noqa: E501 + :type: list[V1VolumeMount] + """ + + self._volume_mounts = volume_mounts + + @property + def working_dir(self): + """Gets the working_dir of this V1Container. # noqa: E501 + + 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. # noqa: E501 + + :return: The working_dir of this V1Container. # noqa: E501 + :rtype: str + """ + return self._working_dir + + @working_dir.setter + def working_dir(self, working_dir): + """Sets the working_dir of this V1Container. + + 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. # noqa: E501 + + :param working_dir: The working_dir of this V1Container. # noqa: E501 + :type: str + """ + + self._working_dir = working_dir + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Container): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Container): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_extended_resource_request.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_extended_resource_request.py new file mode 100644 index 0000000000000000000000000000000000000000..fd32110e145c90886abebd4dd4fb69b458e6872a --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_extended_resource_request.py @@ -0,0 +1,181 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerExtendedResourceRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'container_name': 'str', + 'request_name': 'str', + 'resource_name': 'str' + } + + attribute_map = { + 'container_name': 'containerName', + 'request_name': 'requestName', + 'resource_name': 'resourceName' + } + + def __init__(self, container_name=None, request_name=None, resource_name=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerExtendedResourceRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._container_name = None + self._request_name = None + self._resource_name = None + self.discriminator = None + + self.container_name = container_name + self.request_name = request_name + self.resource_name = resource_name + + @property + def container_name(self): + """Gets the container_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + + The name of the container requesting resources. # noqa: E501 + + :return: The container_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :rtype: str + """ + return self._container_name + + @container_name.setter + def container_name(self, container_name): + """Sets the container_name of this V1ContainerExtendedResourceRequest. + + The name of the container requesting resources. # noqa: E501 + + :param container_name: The container_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and container_name is None: # noqa: E501 + raise ValueError("Invalid value for `container_name`, must not be `None`") # noqa: E501 + + self._container_name = container_name + + @property + def request_name(self): + """Gets the request_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + + The name of the request in the special ResourceClaim which corresponds to the extended resource. # noqa: E501 + + :return: The request_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :rtype: str + """ + return self._request_name + + @request_name.setter + def request_name(self, request_name): + """Sets the request_name of this V1ContainerExtendedResourceRequest. + + The name of the request in the special ResourceClaim which corresponds to the extended resource. # noqa: E501 + + :param request_name: The request_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and request_name is None: # noqa: E501 + raise ValueError("Invalid value for `request_name`, must not be `None`") # noqa: E501 + + self._request_name = request_name + + @property + def resource_name(self): + """Gets the resource_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + + The name of the extended resource in that container which gets backed by DRA. # noqa: E501 + + :return: The resource_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :rtype: str + """ + return self._resource_name + + @resource_name.setter + def resource_name(self, resource_name): + """Sets the resource_name of this V1ContainerExtendedResourceRequest. + + The name of the extended resource in that container which gets backed by DRA. # noqa: E501 + + :param resource_name: The resource_name of this V1ContainerExtendedResourceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and resource_name is None: # noqa: E501 + raise ValueError("Invalid value for `resource_name`, must not be `None`") # noqa: E501 + + self._resource_name = resource_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerExtendedResourceRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerExtendedResourceRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_image.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_image.py new file mode 100644 index 0000000000000000000000000000000000000000..6cbca53b2c25775cef27c62d183510935bce023a --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_image.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerImage(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'names': 'list[str]', + 'size_bytes': 'int' + } + + attribute_map = { + 'names': 'names', + 'size_bytes': 'sizeBytes' + } + + def __init__(self, names=None, size_bytes=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerImage - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._names = None + self._size_bytes = None + self.discriminator = None + + if names is not None: + self.names = names + if size_bytes is not None: + self.size_bytes = size_bytes + + @property + def names(self): + """Gets the names of this V1ContainerImage. # noqa: E501 + + Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"] # noqa: E501 + + :return: The names of this V1ContainerImage. # noqa: E501 + :rtype: list[str] + """ + return self._names + + @names.setter + def names(self, names): + """Sets the names of this V1ContainerImage. + + Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"] # noqa: E501 + + :param names: The names of this V1ContainerImage. # noqa: E501 + :type: list[str] + """ + + self._names = names + + @property + def size_bytes(self): + """Gets the size_bytes of this V1ContainerImage. # noqa: E501 + + The size of the image in bytes. # noqa: E501 + + :return: The size_bytes of this V1ContainerImage. # noqa: E501 + :rtype: int + """ + return self._size_bytes + + @size_bytes.setter + def size_bytes(self, size_bytes): + """Sets the size_bytes of this V1ContainerImage. + + The size of the image in bytes. # noqa: E501 + + :param size_bytes: The size_bytes of this V1ContainerImage. # noqa: E501 + :type: int + """ + + self._size_bytes = size_bytes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerImage): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerImage): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_port.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_port.py new file mode 100644 index 0000000000000000000000000000000000000000..9d4e0e7eb81654cd63f33e3f7487720b560d8d80 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_port.py @@ -0,0 +1,235 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerPort(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'container_port': 'int', + 'host_ip': 'str', + 'host_port': 'int', + 'name': 'str', + 'protocol': 'str' + } + + attribute_map = { + 'container_port': 'containerPort', + 'host_ip': 'hostIP', + 'host_port': 'hostPort', + 'name': 'name', + 'protocol': 'protocol' + } + + def __init__(self, container_port=None, host_ip=None, host_port=None, name=None, protocol=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerPort - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._container_port = None + self._host_ip = None + self._host_port = None + self._name = None + self._protocol = None + self.discriminator = None + + self.container_port = container_port + if host_ip is not None: + self.host_ip = host_ip + if host_port is not None: + self.host_port = host_port + if name is not None: + self.name = name + if protocol is not None: + self.protocol = protocol + + @property + def container_port(self): + """Gets the container_port of this V1ContainerPort. # noqa: E501 + + Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 + + :return: The container_port of this V1ContainerPort. # noqa: E501 + :rtype: int + """ + return self._container_port + + @container_port.setter + def container_port(self, container_port): + """Sets the container_port of this V1ContainerPort. + + Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. # noqa: E501 + + :param container_port: The container_port of this V1ContainerPort. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and container_port is None: # noqa: E501 + raise ValueError("Invalid value for `container_port`, must not be `None`") # noqa: E501 + + self._container_port = container_port + + @property + def host_ip(self): + """Gets the host_ip of this V1ContainerPort. # noqa: E501 + + What host IP to bind the external port to. # noqa: E501 + + :return: The host_ip of this V1ContainerPort. # noqa: E501 + :rtype: str + """ + return self._host_ip + + @host_ip.setter + def host_ip(self, host_ip): + """Sets the host_ip of this V1ContainerPort. + + What host IP to bind the external port to. # noqa: E501 + + :param host_ip: The host_ip of this V1ContainerPort. # noqa: E501 + :type: str + """ + + self._host_ip = host_ip + + @property + def host_port(self): + """Gets the host_port of this V1ContainerPort. # noqa: E501 + + 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. # noqa: E501 + + :return: The host_port of this V1ContainerPort. # noqa: E501 + :rtype: int + """ + return self._host_port + + @host_port.setter + def host_port(self, host_port): + """Sets the host_port of this V1ContainerPort. + + 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. # noqa: E501 + + :param host_port: The host_port of this V1ContainerPort. # noqa: E501 + :type: int + """ + + self._host_port = host_port + + @property + def name(self): + """Gets the name of this V1ContainerPort. # noqa: E501 + + 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. # noqa: E501 + + :return: The name of this V1ContainerPort. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ContainerPort. + + 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. # noqa: E501 + + :param name: The name of this V1ContainerPort. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def protocol(self): + """Gets the protocol of this V1ContainerPort. # noqa: E501 + + Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". # noqa: E501 + + :return: The protocol of this V1ContainerPort. # noqa: E501 + :rtype: str + """ + return self._protocol + + @protocol.setter + def protocol(self, protocol): + """Sets the protocol of this V1ContainerPort. + + Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". # noqa: E501 + + :param protocol: The protocol of this V1ContainerPort. # noqa: E501 + :type: str + """ + + self._protocol = protocol + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerPort): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerPort): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_resize_policy.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_resize_policy.py new file mode 100644 index 0000000000000000000000000000000000000000..a8f26c71a440c6558c5452c6230abc7ec7ec5675 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_resize_policy.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerResizePolicy(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'resource_name': 'str', + 'restart_policy': 'str' + } + + attribute_map = { + 'resource_name': 'resourceName', + 'restart_policy': 'restartPolicy' + } + + def __init__(self, resource_name=None, restart_policy=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerResizePolicy - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._resource_name = None + self._restart_policy = None + self.discriminator = None + + self.resource_name = resource_name + self.restart_policy = restart_policy + + @property + def resource_name(self): + """Gets the resource_name of this V1ContainerResizePolicy. # noqa: E501 + + Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. # noqa: E501 + + :return: The resource_name of this V1ContainerResizePolicy. # noqa: E501 + :rtype: str + """ + return self._resource_name + + @resource_name.setter + def resource_name(self, resource_name): + """Sets the resource_name of this V1ContainerResizePolicy. + + Name of the resource to which this resource resize policy applies. Supported values: cpu, memory. # noqa: E501 + + :param resource_name: The resource_name of this V1ContainerResizePolicy. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and resource_name is None: # noqa: E501 + raise ValueError("Invalid value for `resource_name`, must not be `None`") # noqa: E501 + + self._resource_name = resource_name + + @property + def restart_policy(self): + """Gets the restart_policy of this V1ContainerResizePolicy. # noqa: E501 + + Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. # noqa: E501 + + :return: The restart_policy of this V1ContainerResizePolicy. # noqa: E501 + :rtype: str + """ + return self._restart_policy + + @restart_policy.setter + def restart_policy(self, restart_policy): + """Sets the restart_policy of this V1ContainerResizePolicy. + + Restart policy to apply when specified resource is resized. If not specified, it defaults to NotRequired. # noqa: E501 + + :param restart_policy: The restart_policy of this V1ContainerResizePolicy. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and restart_policy is None: # noqa: E501 + raise ValueError("Invalid value for `restart_policy`, must not be `None`") # noqa: E501 + + self._restart_policy = restart_policy + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerResizePolicy): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerResizePolicy): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_restart_rule.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_restart_rule.py new file mode 100644 index 0000000000000000000000000000000000000000..63aa8f5ba160f789bce72675a0cc97a083b560d1 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_restart_rule.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerRestartRule(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'action': 'str', + 'exit_codes': 'V1ContainerRestartRuleOnExitCodes' + } + + attribute_map = { + 'action': 'action', + 'exit_codes': 'exitCodes' + } + + def __init__(self, action=None, exit_codes=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerRestartRule - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._action = None + self._exit_codes = None + self.discriminator = None + + self.action = action + if exit_codes is not None: + self.exit_codes = exit_codes + + @property + def action(self): + """Gets the action of this V1ContainerRestartRule. # noqa: E501 + + Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container. # noqa: E501 + + :return: The action of this V1ContainerRestartRule. # noqa: E501 + :rtype: str + """ + return self._action + + @action.setter + def action(self, action): + """Sets the action of this V1ContainerRestartRule. + + Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container. # noqa: E501 + + :param action: The action of this V1ContainerRestartRule. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and action is None: # noqa: E501 + raise ValueError("Invalid value for `action`, must not be `None`") # noqa: E501 + + self._action = action + + @property + def exit_codes(self): + """Gets the exit_codes of this V1ContainerRestartRule. # noqa: E501 + + + :return: The exit_codes of this V1ContainerRestartRule. # noqa: E501 + :rtype: V1ContainerRestartRuleOnExitCodes + """ + return self._exit_codes + + @exit_codes.setter + def exit_codes(self, exit_codes): + """Sets the exit_codes of this V1ContainerRestartRule. + + + :param exit_codes: The exit_codes of this V1ContainerRestartRule. # noqa: E501 + :type: V1ContainerRestartRuleOnExitCodes + """ + + self._exit_codes = exit_codes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerRestartRule): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerRestartRule): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py new file mode 100644 index 0000000000000000000000000000000000000000..4378962b737c6d3adb87db3027a9d9a16f558789 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_restart_rule_on_exit_codes.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerRestartRuleOnExitCodes(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'operator': 'str', + 'values': 'list[int]' + } + + attribute_map = { + 'operator': 'operator', + 'values': 'values' + } + + def __init__(self, operator=None, values=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerRestartRuleOnExitCodes - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._operator = None + self._values = None + self.discriminator = None + + self.operator = operator + if values is not None: + self.values = values + + @property + def operator(self): + """Gets the operator of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + + Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values. # noqa: E501 + + :return: The operator of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :rtype: str + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this V1ContainerRestartRuleOnExitCodes. + + Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values. # noqa: E501 + + :param operator: The operator of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and operator is None: # noqa: E501 + raise ValueError("Invalid value for `operator`, must not be `None`") # noqa: E501 + + self._operator = operator + + @property + def values(self): + """Gets the values of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + + Specifies the set of values to check for container exit codes. At most 255 elements are allowed. # noqa: E501 + + :return: The values of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :rtype: list[int] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this V1ContainerRestartRuleOnExitCodes. + + Specifies the set of values to check for container exit codes. At most 255 elements are allowed. # noqa: E501 + + :param values: The values of this V1ContainerRestartRuleOnExitCodes. # noqa: E501 + :type: list[int] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerRestartRuleOnExitCodes): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerRestartRuleOnExitCodes): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state.py new file mode 100644 index 0000000000000000000000000000000000000000..c585804496b8450aefaa43c70988c65fd4bd1b4a --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerState(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'running': 'V1ContainerStateRunning', + 'terminated': 'V1ContainerStateTerminated', + 'waiting': 'V1ContainerStateWaiting' + } + + attribute_map = { + 'running': 'running', + 'terminated': 'terminated', + 'waiting': 'waiting' + } + + def __init__(self, running=None, terminated=None, waiting=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerState - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._running = None + self._terminated = None + self._waiting = None + self.discriminator = None + + if running is not None: + self.running = running + if terminated is not None: + self.terminated = terminated + if waiting is not None: + self.waiting = waiting + + @property + def running(self): + """Gets the running of this V1ContainerState. # noqa: E501 + + + :return: The running of this V1ContainerState. # noqa: E501 + :rtype: V1ContainerStateRunning + """ + return self._running + + @running.setter + def running(self, running): + """Sets the running of this V1ContainerState. + + + :param running: The running of this V1ContainerState. # noqa: E501 + :type: V1ContainerStateRunning + """ + + self._running = running + + @property + def terminated(self): + """Gets the terminated of this V1ContainerState. # noqa: E501 + + + :return: The terminated of this V1ContainerState. # noqa: E501 + :rtype: V1ContainerStateTerminated + """ + return self._terminated + + @terminated.setter + def terminated(self, terminated): + """Sets the terminated of this V1ContainerState. + + + :param terminated: The terminated of this V1ContainerState. # noqa: E501 + :type: V1ContainerStateTerminated + """ + + self._terminated = terminated + + @property + def waiting(self): + """Gets the waiting of this V1ContainerState. # noqa: E501 + + + :return: The waiting of this V1ContainerState. # noqa: E501 + :rtype: V1ContainerStateWaiting + """ + return self._waiting + + @waiting.setter + def waiting(self, waiting): + """Sets the waiting of this V1ContainerState. + + + :param waiting: The waiting of this V1ContainerState. # noqa: E501 + :type: V1ContainerStateWaiting + """ + + self._waiting = waiting + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerState): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerState): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_running.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_running.py new file mode 100644 index 0000000000000000000000000000000000000000..700e79799bbbcd7f46e714a1cae6c4567c1f1763 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_running.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerStateRunning(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'started_at': 'datetime' + } + + attribute_map = { + 'started_at': 'startedAt' + } + + def __init__(self, started_at=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerStateRunning - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._started_at = None + self.discriminator = None + + if started_at is not None: + self.started_at = started_at + + @property + def started_at(self): + """Gets the started_at of this V1ContainerStateRunning. # noqa: E501 + + Time at which the container was last (re-)started # noqa: E501 + + :return: The started_at of this V1ContainerStateRunning. # noqa: E501 + :rtype: datetime + """ + return self._started_at + + @started_at.setter + def started_at(self, started_at): + """Sets the started_at of this V1ContainerStateRunning. + + Time at which the container was last (re-)started # noqa: E501 + + :param started_at: The started_at of this V1ContainerStateRunning. # noqa: E501 + :type: datetime + """ + + self._started_at = started_at + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerStateRunning): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerStateRunning): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_terminated.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_terminated.py new file mode 100644 index 0000000000000000000000000000000000000000..e7d53277eaca0667b59d2e0e8b70602de55694ac --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_terminated.py @@ -0,0 +1,291 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerStateTerminated(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'container_id': 'str', + 'exit_code': 'int', + 'finished_at': 'datetime', + 'message': 'str', + 'reason': 'str', + 'signal': 'int', + 'started_at': 'datetime' + } + + attribute_map = { + 'container_id': 'containerID', + 'exit_code': 'exitCode', + 'finished_at': 'finishedAt', + 'message': 'message', + 'reason': 'reason', + 'signal': 'signal', + 'started_at': 'startedAt' + } + + def __init__(self, container_id=None, exit_code=None, finished_at=None, message=None, reason=None, signal=None, started_at=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerStateTerminated - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._container_id = None + self._exit_code = None + self._finished_at = None + self._message = None + self._reason = None + self._signal = None + self._started_at = None + self.discriminator = None + + if container_id is not None: + self.container_id = container_id + self.exit_code = exit_code + if finished_at is not None: + self.finished_at = finished_at + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + if signal is not None: + self.signal = signal + if started_at is not None: + self.started_at = started_at + + @property + def container_id(self): + """Gets the container_id of this V1ContainerStateTerminated. # noqa: E501 + + Container's ID in the format '://' # noqa: E501 + + :return: The container_id of this V1ContainerStateTerminated. # noqa: E501 + :rtype: str + """ + return self._container_id + + @container_id.setter + def container_id(self, container_id): + """Sets the container_id of this V1ContainerStateTerminated. + + Container's ID in the format '://' # noqa: E501 + + :param container_id: The container_id of this V1ContainerStateTerminated. # noqa: E501 + :type: str + """ + + self._container_id = container_id + + @property + def exit_code(self): + """Gets the exit_code of this V1ContainerStateTerminated. # noqa: E501 + + Exit status from the last termination of the container # noqa: E501 + + :return: The exit_code of this V1ContainerStateTerminated. # noqa: E501 + :rtype: int + """ + return self._exit_code + + @exit_code.setter + def exit_code(self, exit_code): + """Sets the exit_code of this V1ContainerStateTerminated. + + Exit status from the last termination of the container # noqa: E501 + + :param exit_code: The exit_code of this V1ContainerStateTerminated. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and exit_code is None: # noqa: E501 + raise ValueError("Invalid value for `exit_code`, must not be `None`") # noqa: E501 + + self._exit_code = exit_code + + @property + def finished_at(self): + """Gets the finished_at of this V1ContainerStateTerminated. # noqa: E501 + + Time at which the container last terminated # noqa: E501 + + :return: The finished_at of this V1ContainerStateTerminated. # noqa: E501 + :rtype: datetime + """ + return self._finished_at + + @finished_at.setter + def finished_at(self, finished_at): + """Sets the finished_at of this V1ContainerStateTerminated. + + Time at which the container last terminated # noqa: E501 + + :param finished_at: The finished_at of this V1ContainerStateTerminated. # noqa: E501 + :type: datetime + """ + + self._finished_at = finished_at + + @property + def message(self): + """Gets the message of this V1ContainerStateTerminated. # noqa: E501 + + Message regarding the last termination of the container # noqa: E501 + + :return: The message of this V1ContainerStateTerminated. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1ContainerStateTerminated. + + Message regarding the last termination of the container # noqa: E501 + + :param message: The message of this V1ContainerStateTerminated. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1ContainerStateTerminated. # noqa: E501 + + (brief) reason from the last termination of the container # noqa: E501 + + :return: The reason of this V1ContainerStateTerminated. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1ContainerStateTerminated. + + (brief) reason from the last termination of the container # noqa: E501 + + :param reason: The reason of this V1ContainerStateTerminated. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def signal(self): + """Gets the signal of this V1ContainerStateTerminated. # noqa: E501 + + Signal from the last termination of the container # noqa: E501 + + :return: The signal of this V1ContainerStateTerminated. # noqa: E501 + :rtype: int + """ + return self._signal + + @signal.setter + def signal(self, signal): + """Sets the signal of this V1ContainerStateTerminated. + + Signal from the last termination of the container # noqa: E501 + + :param signal: The signal of this V1ContainerStateTerminated. # noqa: E501 + :type: int + """ + + self._signal = signal + + @property + def started_at(self): + """Gets the started_at of this V1ContainerStateTerminated. # noqa: E501 + + Time at which previous execution of the container started # noqa: E501 + + :return: The started_at of this V1ContainerStateTerminated. # noqa: E501 + :rtype: datetime + """ + return self._started_at + + @started_at.setter + def started_at(self, started_at): + """Sets the started_at of this V1ContainerStateTerminated. + + Time at which previous execution of the container started # noqa: E501 + + :param started_at: The started_at of this V1ContainerStateTerminated. # noqa: E501 + :type: datetime + """ + + self._started_at = started_at + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerStateTerminated): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerStateTerminated): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_waiting.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_waiting.py new file mode 100644 index 0000000000000000000000000000000000000000..ad909d18def1fde9026ba2db6970ff47d63e0f06 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_state_waiting.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerStateWaiting(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'message': 'str', + 'reason': 'str' + } + + attribute_map = { + 'message': 'message', + 'reason': 'reason' + } + + def __init__(self, message=None, reason=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerStateWaiting - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._message = None + self._reason = None + self.discriminator = None + + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + + @property + def message(self): + """Gets the message of this V1ContainerStateWaiting. # noqa: E501 + + Message regarding why the container is not yet running. # noqa: E501 + + :return: The message of this V1ContainerStateWaiting. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1ContainerStateWaiting. + + Message regarding why the container is not yet running. # noqa: E501 + + :param message: The message of this V1ContainerStateWaiting. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1ContainerStateWaiting. # noqa: E501 + + (brief) reason the container is not yet running. # noqa: E501 + + :return: The reason of this V1ContainerStateWaiting. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1ContainerStateWaiting. + + (brief) reason the container is not yet running. # noqa: E501 + + :param reason: The reason of this V1ContainerStateWaiting. # noqa: E501 + :type: str + """ + + self._reason = reason + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerStateWaiting): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerStateWaiting): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_status.py new file mode 100644 index 0000000000000000000000000000000000000000..e51eb558518a5a8a128c0d9a88371eeac23dd29f --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_status.py @@ -0,0 +1,511 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'allocated_resources': 'dict(str, str)', + 'allocated_resources_status': 'list[V1ResourceStatus]', + 'container_id': 'str', + 'image': 'str', + 'image_id': 'str', + 'last_state': 'V1ContainerState', + 'name': 'str', + 'ready': 'bool', + 'resources': 'V1ResourceRequirements', + 'restart_count': 'int', + 'started': 'bool', + 'state': 'V1ContainerState', + 'stop_signal': 'str', + 'user': 'V1ContainerUser', + 'volume_mounts': 'list[V1VolumeMountStatus]' + } + + attribute_map = { + 'allocated_resources': 'allocatedResources', + 'allocated_resources_status': 'allocatedResourcesStatus', + 'container_id': 'containerID', + 'image': 'image', + 'image_id': 'imageID', + 'last_state': 'lastState', + 'name': 'name', + 'ready': 'ready', + 'resources': 'resources', + 'restart_count': 'restartCount', + 'started': 'started', + 'state': 'state', + 'stop_signal': 'stopSignal', + 'user': 'user', + 'volume_mounts': 'volumeMounts' + } + + def __init__(self, allocated_resources=None, allocated_resources_status=None, container_id=None, image=None, image_id=None, last_state=None, name=None, ready=None, resources=None, restart_count=None, started=None, state=None, stop_signal=None, user=None, volume_mounts=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._allocated_resources = None + self._allocated_resources_status = None + self._container_id = None + self._image = None + self._image_id = None + self._last_state = None + self._name = None + self._ready = None + self._resources = None + self._restart_count = None + self._started = None + self._state = None + self._stop_signal = None + self._user = None + self._volume_mounts = None + self.discriminator = None + + if allocated_resources is not None: + self.allocated_resources = allocated_resources + if allocated_resources_status is not None: + self.allocated_resources_status = allocated_resources_status + if container_id is not None: + self.container_id = container_id + self.image = image + self.image_id = image_id + if last_state is not None: + self.last_state = last_state + self.name = name + self.ready = ready + if resources is not None: + self.resources = resources + self.restart_count = restart_count + if started is not None: + self.started = started + if state is not None: + self.state = state + if stop_signal is not None: + self.stop_signal = stop_signal + if user is not None: + self.user = user + if volume_mounts is not None: + self.volume_mounts = volume_mounts + + @property + def allocated_resources(self): + """Gets the allocated_resources of this V1ContainerStatus. # noqa: E501 + + AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. # noqa: E501 + + :return: The allocated_resources of this V1ContainerStatus. # noqa: E501 + :rtype: dict(str, str) + """ + return self._allocated_resources + + @allocated_resources.setter + def allocated_resources(self, allocated_resources): + """Sets the allocated_resources of this V1ContainerStatus. + + AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize. # noqa: E501 + + :param allocated_resources: The allocated_resources of this V1ContainerStatus. # noqa: E501 + :type: dict(str, str) + """ + + self._allocated_resources = allocated_resources + + @property + def allocated_resources_status(self): + """Gets the allocated_resources_status of this V1ContainerStatus. # noqa: E501 + + AllocatedResourcesStatus represents the status of various resources allocated for this Pod. # noqa: E501 + + :return: The allocated_resources_status of this V1ContainerStatus. # noqa: E501 + :rtype: list[V1ResourceStatus] + """ + return self._allocated_resources_status + + @allocated_resources_status.setter + def allocated_resources_status(self, allocated_resources_status): + """Sets the allocated_resources_status of this V1ContainerStatus. + + AllocatedResourcesStatus represents the status of various resources allocated for this Pod. # noqa: E501 + + :param allocated_resources_status: The allocated_resources_status of this V1ContainerStatus. # noqa: E501 + :type: list[V1ResourceStatus] + """ + + self._allocated_resources_status = allocated_resources_status + + @property + def container_id(self): + """Gets the container_id of this V1ContainerStatus. # noqa: E501 + + ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\"). # noqa: E501 + + :return: The container_id of this V1ContainerStatus. # noqa: E501 + :rtype: str + """ + return self._container_id + + @container_id.setter + def container_id(self, container_id): + """Sets the container_id of this V1ContainerStatus. + + ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\"). # noqa: E501 + + :param container_id: The container_id of this V1ContainerStatus. # noqa: E501 + :type: str + """ + + self._container_id = container_id + + @property + def image(self): + """Gets the image of this V1ContainerStatus. # noqa: E501 + + Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images. # noqa: E501 + + :return: The image of this V1ContainerStatus. # noqa: E501 + :rtype: str + """ + return self._image + + @image.setter + def image(self, image): + """Sets the image of this V1ContainerStatus. + + Image is the name of container image that the container is running. The container image may not match the image used in the PodSpec, as it may have been resolved by the runtime. More info: https://kubernetes.io/docs/concepts/containers/images. # noqa: E501 + + :param image: The image of this V1ContainerStatus. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and image is None: # noqa: E501 + raise ValueError("Invalid value for `image`, must not be `None`") # noqa: E501 + + self._image = image + + @property + def image_id(self): + """Gets the image_id of this V1ContainerStatus. # noqa: E501 + + ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime. # noqa: E501 + + :return: The image_id of this V1ContainerStatus. # noqa: E501 + :rtype: str + """ + return self._image_id + + @image_id.setter + def image_id(self, image_id): + """Sets the image_id of this V1ContainerStatus. + + ImageID is the image ID of the container's image. The image ID may not match the image ID of the image used in the PodSpec, as it may have been resolved by the runtime. # noqa: E501 + + :param image_id: The image_id of this V1ContainerStatus. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and image_id is None: # noqa: E501 + raise ValueError("Invalid value for `image_id`, must not be `None`") # noqa: E501 + + self._image_id = image_id + + @property + def last_state(self): + """Gets the last_state of this V1ContainerStatus. # noqa: E501 + + + :return: The last_state of this V1ContainerStatus. # noqa: E501 + :rtype: V1ContainerState + """ + return self._last_state + + @last_state.setter + def last_state(self, last_state): + """Sets the last_state of this V1ContainerStatus. + + + :param last_state: The last_state of this V1ContainerStatus. # noqa: E501 + :type: V1ContainerState + """ + + self._last_state = last_state + + @property + def name(self): + """Gets the name of this V1ContainerStatus. # noqa: E501 + + Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated. # noqa: E501 + + :return: The name of this V1ContainerStatus. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1ContainerStatus. + + Name is a DNS_LABEL representing the unique name of the container. Each container in a pod must have a unique name across all container types. Cannot be updated. # noqa: E501 + + :param name: The name of this V1ContainerStatus. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def ready(self): + """Gets the ready of this V1ContainerStatus. # noqa: E501 + + Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field). The value is typically used to determine whether a container is ready to accept traffic. # noqa: E501 + + :return: The ready of this V1ContainerStatus. # noqa: E501 + :rtype: bool + """ + return self._ready + + @ready.setter + def ready(self, ready): + """Sets the ready of this V1ContainerStatus. + + Ready specifies whether the container is currently passing its readiness check. The value will change as readiness probes keep executing. If no readiness probes are specified, this field defaults to true once the container is fully started (see Started field). The value is typically used to determine whether a container is ready to accept traffic. # noqa: E501 + + :param ready: The ready of this V1ContainerStatus. # noqa: E501 + :type: bool + """ + if self.local_vars_configuration.client_side_validation and ready is None: # noqa: E501 + raise ValueError("Invalid value for `ready`, must not be `None`") # noqa: E501 + + self._ready = ready + + @property + def resources(self): + """Gets the resources of this V1ContainerStatus. # noqa: E501 + + + :return: The resources of this V1ContainerStatus. # noqa: E501 + :rtype: V1ResourceRequirements + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this V1ContainerStatus. + + + :param resources: The resources of this V1ContainerStatus. # noqa: E501 + :type: V1ResourceRequirements + """ + + self._resources = resources + + @property + def restart_count(self): + """Gets the restart_count of this V1ContainerStatus. # noqa: E501 + + RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative. # noqa: E501 + + :return: The restart_count of this V1ContainerStatus. # noqa: E501 + :rtype: int + """ + return self._restart_count + + @restart_count.setter + def restart_count(self, restart_count): + """Sets the restart_count of this V1ContainerStatus. + + RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative. # noqa: E501 + + :param restart_count: The restart_count of this V1ContainerStatus. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and restart_count is None: # noqa: E501 + raise ValueError("Invalid value for `restart_count`, must not be `None`") # noqa: E501 + + self._restart_count = restart_count + + @property + def started(self): + """Gets the started of this V1ContainerStatus. # noqa: E501 + + Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false. # noqa: E501 + + :return: The started of this V1ContainerStatus. # noqa: E501 + :rtype: bool + """ + return self._started + + @started.setter + def started(self, started): + """Sets the started of this V1ContainerStatus. + + Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false. # noqa: E501 + + :param started: The started of this V1ContainerStatus. # noqa: E501 + :type: bool + """ + + self._started = started + + @property + def state(self): + """Gets the state of this V1ContainerStatus. # noqa: E501 + + + :return: The state of this V1ContainerStatus. # noqa: E501 + :rtype: V1ContainerState + """ + return self._state + + @state.setter + def state(self, state): + """Sets the state of this V1ContainerStatus. + + + :param state: The state of this V1ContainerStatus. # noqa: E501 + :type: V1ContainerState + """ + + self._state = state + + @property + def stop_signal(self): + """Gets the stop_signal of this V1ContainerStatus. # noqa: E501 + + StopSignal reports the effective stop signal for this container # noqa: E501 + + :return: The stop_signal of this V1ContainerStatus. # noqa: E501 + :rtype: str + """ + return self._stop_signal + + @stop_signal.setter + def stop_signal(self, stop_signal): + """Sets the stop_signal of this V1ContainerStatus. + + StopSignal reports the effective stop signal for this container # noqa: E501 + + :param stop_signal: The stop_signal of this V1ContainerStatus. # noqa: E501 + :type: str + """ + + self._stop_signal = stop_signal + + @property + def user(self): + """Gets the user of this V1ContainerStatus. # noqa: E501 + + + :return: The user of this V1ContainerStatus. # noqa: E501 + :rtype: V1ContainerUser + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this V1ContainerStatus. + + + :param user: The user of this V1ContainerStatus. # noqa: E501 + :type: V1ContainerUser + """ + + self._user = user + + @property + def volume_mounts(self): + """Gets the volume_mounts of this V1ContainerStatus. # noqa: E501 + + Status of volume mounts. # noqa: E501 + + :return: The volume_mounts of this V1ContainerStatus. # noqa: E501 + :rtype: list[V1VolumeMountStatus] + """ + return self._volume_mounts + + @volume_mounts.setter + def volume_mounts(self, volume_mounts): + """Sets the volume_mounts of this V1ContainerStatus. + + Status of volume mounts. # noqa: E501 + + :param volume_mounts: The volume_mounts of this V1ContainerStatus. # noqa: E501 + :type: list[V1VolumeMountStatus] + """ + + self._volume_mounts = volume_mounts + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_user.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_user.py new file mode 100644 index 0000000000000000000000000000000000000000..56215ca9f4f71c99a9542c11899f6f8905cbb569 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_container_user.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ContainerUser(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'linux': 'V1LinuxContainerUser' + } + + attribute_map = { + 'linux': 'linux' + } + + def __init__(self, linux=None, local_vars_configuration=None): # noqa: E501 + """V1ContainerUser - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._linux = None + self.discriminator = None + + if linux is not None: + self.linux = linux + + @property + def linux(self): + """Gets the linux of this V1ContainerUser. # noqa: E501 + + + :return: The linux of this V1ContainerUser. # noqa: E501 + :rtype: V1LinuxContainerUser + """ + return self._linux + + @linux.setter + def linux(self, linux): + """Sets the linux of this V1ContainerUser. + + + :param linux: The linux of this V1ContainerUser. # noqa: E501 + :type: V1LinuxContainerUser + """ + + self._linux = linux + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ContainerUser): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ContainerUser): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_controller_revision.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_controller_revision.py new file mode 100644 index 0000000000000000000000000000000000000000..0d06e4df1f7e465e98217d41f8a2fdbde304255a --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_controller_revision.py @@ -0,0 +1,233 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ControllerRevision(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'data': 'object', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'revision': 'int' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'data': 'data', + 'kind': 'kind', + 'metadata': 'metadata', + 'revision': 'revision' + } + + def __init__(self, api_version=None, data=None, kind=None, metadata=None, revision=None, local_vars_configuration=None): # noqa: E501 + """V1ControllerRevision - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._data = None + self._kind = None + self._metadata = None + self._revision = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if data is not None: + self.data = data + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.revision = revision + + @property + def api_version(self): + """Gets the api_version of this V1ControllerRevision. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ControllerRevision. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ControllerRevision. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ControllerRevision. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def data(self): + """Gets the data of this V1ControllerRevision. # noqa: E501 + + Data is the serialized representation of the state. # noqa: E501 + + :return: The data of this V1ControllerRevision. # noqa: E501 + :rtype: object + """ + return self._data + + @data.setter + def data(self, data): + """Sets the data of this V1ControllerRevision. + + Data is the serialized representation of the state. # noqa: E501 + + :param data: The data of this V1ControllerRevision. # noqa: E501 + :type: object + """ + + self._data = data + + @property + def kind(self): + """Gets the kind of this V1ControllerRevision. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ControllerRevision. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ControllerRevision. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ControllerRevision. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ControllerRevision. # noqa: E501 + + + :return: The metadata of this V1ControllerRevision. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ControllerRevision. + + + :param metadata: The metadata of this V1ControllerRevision. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def revision(self): + """Gets the revision of this V1ControllerRevision. # noqa: E501 + + Revision indicates the revision of the state represented by Data. # noqa: E501 + + :return: The revision of this V1ControllerRevision. # noqa: E501 + :rtype: int + """ + return self._revision + + @revision.setter + def revision(self, revision): + """Sets the revision of this V1ControllerRevision. + + Revision indicates the revision of the state represented by Data. # noqa: E501 + + :param revision: The revision of this V1ControllerRevision. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and revision is None: # noqa: E501 + raise ValueError("Invalid value for `revision`, must not be `None`") # noqa: E501 + + self._revision = revision + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ControllerRevision): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ControllerRevision): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_controller_revision_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_controller_revision_list.py new file mode 100644 index 0000000000000000000000000000000000000000..d20ff4a166390a15b4cfca198269ae8f9a0828b3 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_controller_revision_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1ControllerRevisionList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1ControllerRevision]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1ControllerRevisionList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1ControllerRevisionList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1ControllerRevisionList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1ControllerRevisionList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1ControllerRevisionList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1ControllerRevisionList. # noqa: E501 + + Items is the list of ControllerRevisions # noqa: E501 + + :return: The items of this V1ControllerRevisionList. # noqa: E501 + :rtype: list[V1ControllerRevision] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1ControllerRevisionList. + + Items is the list of ControllerRevisions # noqa: E501 + + :param items: The items of this V1ControllerRevisionList. # noqa: E501 + :type: list[V1ControllerRevision] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1ControllerRevisionList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1ControllerRevisionList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1ControllerRevisionList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1ControllerRevisionList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1ControllerRevisionList. # noqa: E501 + + + :return: The metadata of this V1ControllerRevisionList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1ControllerRevisionList. + + + :param metadata: The metadata of this V1ControllerRevisionList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1ControllerRevisionList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1ControllerRevisionList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_counter.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_counter.py new file mode 100644 index 0000000000000000000000000000000000000000..666b0e7ab85707dc0374b21c05646dd30d1866db --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_counter.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Counter(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'value': 'str' + } + + attribute_map = { + 'value': 'value' + } + + def __init__(self, value=None, local_vars_configuration=None): # noqa: E501 + """V1Counter - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._value = None + self.discriminator = None + + self.value = value + + @property + def value(self): + """Gets the value of this V1Counter. # noqa: E501 + + Value defines how much of a certain device counter is available. # noqa: E501 + + :return: The value of this V1Counter. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1Counter. + + Value defines how much of a certain device counter is available. # noqa: E501 + + :param value: The value of this V1Counter. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501 + raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Counter): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Counter): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_counter_set.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_counter_set.py new file mode 100644 index 0000000000000000000000000000000000000000..ee17b2e4a7acf9249c41c5664039304d57771a68 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_counter_set.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CounterSet(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'counters': 'dict(str, V1Counter)', + 'name': 'str' + } + + attribute_map = { + 'counters': 'counters', + 'name': 'name' + } + + def __init__(self, counters=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1CounterSet - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._counters = None + self._name = None + self.discriminator = None + + self.counters = counters + self.name = name + + @property + def counters(self): + """Gets the counters of this V1CounterSet. # noqa: E501 + + Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters is 32. # noqa: E501 + + :return: The counters of this V1CounterSet. # noqa: E501 + :rtype: dict(str, V1Counter) + """ + return self._counters + + @counters.setter + def counters(self, counters): + """Sets the counters of this V1CounterSet. + + Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters is 32. # noqa: E501 + + :param counters: The counters of this V1CounterSet. # noqa: E501 + :type: dict(str, V1Counter) + """ + if self.local_vars_configuration.client_side_validation and counters is None: # noqa: E501 + raise ValueError("Invalid value for `counters`, must not be `None`") # noqa: E501 + + self._counters = counters + + @property + def name(self): + """Gets the name of this V1CounterSet. # noqa: E501 + + Name defines the name of the counter set. It must be a DNS label. # noqa: E501 + + :return: The name of this V1CounterSet. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1CounterSet. + + Name defines the name of the counter set. It must be a DNS label. # noqa: E501 + + :param name: The name of this V1CounterSet. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CounterSet): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CounterSet): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job.py new file mode 100644 index 0000000000000000000000000000000000000000..bcfad839f8dc1cabff041a6d81668416cf7fd1f3 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CronJob(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1CronJobSpec', + 'status': 'V1CronJobStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1CronJob - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1CronJob. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CronJob. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CronJob. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CronJob. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1CronJob. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CronJob. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CronJob. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CronJob. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CronJob. # noqa: E501 + + + :return: The metadata of this V1CronJob. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CronJob. + + + :param metadata: The metadata of this V1CronJob. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1CronJob. # noqa: E501 + + + :return: The spec of this V1CronJob. # noqa: E501 + :rtype: V1CronJobSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1CronJob. + + + :param spec: The spec of this V1CronJob. # noqa: E501 + :type: V1CronJobSpec + """ + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1CronJob. # noqa: E501 + + + :return: The status of this V1CronJob. # noqa: E501 + :rtype: V1CronJobStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1CronJob. + + + :param status: The status of this V1CronJob. # noqa: E501 + :type: V1CronJobStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CronJob): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CronJob): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_list.py new file mode 100644 index 0000000000000000000000000000000000000000..55d7204807af34ba500bd3a25f24c0c2503ff8ba --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CronJobList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1CronJob]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1CronJobList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1CronJobList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CronJobList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CronJobList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CronJobList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1CronJobList. # noqa: E501 + + items is the list of CronJobs. # noqa: E501 + + :return: The items of this V1CronJobList. # noqa: E501 + :rtype: list[V1CronJob] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1CronJobList. + + items is the list of CronJobs. # noqa: E501 + + :param items: The items of this V1CronJobList. # noqa: E501 + :type: list[V1CronJob] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1CronJobList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CronJobList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CronJobList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CronJobList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CronJobList. # noqa: E501 + + + :return: The metadata of this V1CronJobList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CronJobList. + + + :param metadata: The metadata of this V1CronJobList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CronJobList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CronJobList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..f63400c05c82c9923994465f78311c17841b9050 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_spec.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CronJobSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'concurrency_policy': 'str', + 'failed_jobs_history_limit': 'int', + 'job_template': 'V1JobTemplateSpec', + 'schedule': 'str', + 'starting_deadline_seconds': 'int', + 'successful_jobs_history_limit': 'int', + 'suspend': 'bool', + 'time_zone': 'str' + } + + attribute_map = { + 'concurrency_policy': 'concurrencyPolicy', + 'failed_jobs_history_limit': 'failedJobsHistoryLimit', + 'job_template': 'jobTemplate', + 'schedule': 'schedule', + 'starting_deadline_seconds': 'startingDeadlineSeconds', + 'successful_jobs_history_limit': 'successfulJobsHistoryLimit', + 'suspend': 'suspend', + 'time_zone': 'timeZone' + } + + def __init__(self, concurrency_policy=None, failed_jobs_history_limit=None, job_template=None, schedule=None, starting_deadline_seconds=None, successful_jobs_history_limit=None, suspend=None, time_zone=None, local_vars_configuration=None): # noqa: E501 + """V1CronJobSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._concurrency_policy = None + self._failed_jobs_history_limit = None + self._job_template = None + self._schedule = None + self._starting_deadline_seconds = None + self._successful_jobs_history_limit = None + self._suspend = None + self._time_zone = None + self.discriminator = None + + if concurrency_policy is not None: + self.concurrency_policy = concurrency_policy + if failed_jobs_history_limit is not None: + self.failed_jobs_history_limit = failed_jobs_history_limit + self.job_template = job_template + self.schedule = schedule + if starting_deadline_seconds is not None: + self.starting_deadline_seconds = starting_deadline_seconds + if successful_jobs_history_limit is not None: + self.successful_jobs_history_limit = successful_jobs_history_limit + if suspend is not None: + self.suspend = suspend + if time_zone is not None: + self.time_zone = time_zone + + @property + def concurrency_policy(self): + """Gets the concurrency_policy of this V1CronJobSpec. # noqa: E501 + + Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one # noqa: E501 + + :return: The concurrency_policy of this V1CronJobSpec. # noqa: E501 + :rtype: str + """ + return self._concurrency_policy + + @concurrency_policy.setter + def concurrency_policy(self, concurrency_policy): + """Sets the concurrency_policy of this V1CronJobSpec. + + Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one # noqa: E501 + + :param concurrency_policy: The concurrency_policy of this V1CronJobSpec. # noqa: E501 + :type: str + """ + + self._concurrency_policy = concurrency_policy + + @property + def failed_jobs_history_limit(self): + """Gets the failed_jobs_history_limit of this V1CronJobSpec. # noqa: E501 + + The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. # noqa: E501 + + :return: The failed_jobs_history_limit of this V1CronJobSpec. # noqa: E501 + :rtype: int + """ + return self._failed_jobs_history_limit + + @failed_jobs_history_limit.setter + def failed_jobs_history_limit(self, failed_jobs_history_limit): + """Sets the failed_jobs_history_limit of this V1CronJobSpec. + + The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1. # noqa: E501 + + :param failed_jobs_history_limit: The failed_jobs_history_limit of this V1CronJobSpec. # noqa: E501 + :type: int + """ + + self._failed_jobs_history_limit = failed_jobs_history_limit + + @property + def job_template(self): + """Gets the job_template of this V1CronJobSpec. # noqa: E501 + + + :return: The job_template of this V1CronJobSpec. # noqa: E501 + :rtype: V1JobTemplateSpec + """ + return self._job_template + + @job_template.setter + def job_template(self, job_template): + """Sets the job_template of this V1CronJobSpec. + + + :param job_template: The job_template of this V1CronJobSpec. # noqa: E501 + :type: V1JobTemplateSpec + """ + if self.local_vars_configuration.client_side_validation and job_template is None: # noqa: E501 + raise ValueError("Invalid value for `job_template`, must not be `None`") # noqa: E501 + + self._job_template = job_template + + @property + def schedule(self): + """Gets the schedule of this V1CronJobSpec. # noqa: E501 + + The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. # noqa: E501 + + :return: The schedule of this V1CronJobSpec. # noqa: E501 + :rtype: str + """ + return self._schedule + + @schedule.setter + def schedule(self, schedule): + """Sets the schedule of this V1CronJobSpec. + + The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. # noqa: E501 + + :param schedule: The schedule of this V1CronJobSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and schedule is None: # noqa: E501 + raise ValueError("Invalid value for `schedule`, must not be `None`") # noqa: E501 + + self._schedule = schedule + + @property + def starting_deadline_seconds(self): + """Gets the starting_deadline_seconds of this V1CronJobSpec. # noqa: E501 + + 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. # noqa: E501 + + :return: The starting_deadline_seconds of this V1CronJobSpec. # noqa: E501 + :rtype: int + """ + return self._starting_deadline_seconds + + @starting_deadline_seconds.setter + def starting_deadline_seconds(self, starting_deadline_seconds): + """Sets the starting_deadline_seconds of this V1CronJobSpec. + + 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. # noqa: E501 + + :param starting_deadline_seconds: The starting_deadline_seconds of this V1CronJobSpec. # noqa: E501 + :type: int + """ + + self._starting_deadline_seconds = starting_deadline_seconds + + @property + def successful_jobs_history_limit(self): + """Gets the successful_jobs_history_limit of this V1CronJobSpec. # noqa: E501 + + The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. # noqa: E501 + + :return: The successful_jobs_history_limit of this V1CronJobSpec. # noqa: E501 + :rtype: int + """ + return self._successful_jobs_history_limit + + @successful_jobs_history_limit.setter + def successful_jobs_history_limit(self, successful_jobs_history_limit): + """Sets the successful_jobs_history_limit of this V1CronJobSpec. + + The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3. # noqa: E501 + + :param successful_jobs_history_limit: The successful_jobs_history_limit of this V1CronJobSpec. # noqa: E501 + :type: int + """ + + self._successful_jobs_history_limit = successful_jobs_history_limit + + @property + def suspend(self): + """Gets the suspend of this V1CronJobSpec. # noqa: E501 + + This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. # noqa: E501 + + :return: The suspend of this V1CronJobSpec. # noqa: E501 + :rtype: bool + """ + return self._suspend + + @suspend.setter + def suspend(self, suspend): + """Sets the suspend of this V1CronJobSpec. + + This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false. # noqa: E501 + + :param suspend: The suspend of this V1CronJobSpec. # noqa: E501 + :type: bool + """ + + self._suspend = suspend + + @property + def time_zone(self): + """Gets the time_zone of this V1CronJobSpec. # noqa: E501 + + The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones # noqa: E501 + + :return: The time_zone of this V1CronJobSpec. # noqa: E501 + :rtype: str + """ + return self._time_zone + + @time_zone.setter + def time_zone(self, time_zone): + """Sets the time_zone of this V1CronJobSpec. + + The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones # noqa: E501 + + :param time_zone: The time_zone of this V1CronJobSpec. # noqa: E501 + :type: str + """ + + self._time_zone = time_zone + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CronJobSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CronJobSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_status.py new file mode 100644 index 0000000000000000000000000000000000000000..5e1d5d36b33f7d327f192d592ff0f386584d5523 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cron_job_status.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CronJobStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'active': 'list[V1ObjectReference]', + 'last_schedule_time': 'datetime', + 'last_successful_time': 'datetime' + } + + attribute_map = { + 'active': 'active', + 'last_schedule_time': 'lastScheduleTime', + 'last_successful_time': 'lastSuccessfulTime' + } + + def __init__(self, active=None, last_schedule_time=None, last_successful_time=None, local_vars_configuration=None): # noqa: E501 + """V1CronJobStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._active = None + self._last_schedule_time = None + self._last_successful_time = None + self.discriminator = None + + if active is not None: + self.active = active + if last_schedule_time is not None: + self.last_schedule_time = last_schedule_time + if last_successful_time is not None: + self.last_successful_time = last_successful_time + + @property + def active(self): + """Gets the active of this V1CronJobStatus. # noqa: E501 + + A list of pointers to currently running jobs. # noqa: E501 + + :return: The active of this V1CronJobStatus. # noqa: E501 + :rtype: list[V1ObjectReference] + """ + return self._active + + @active.setter + def active(self, active): + """Sets the active of this V1CronJobStatus. + + A list of pointers to currently running jobs. # noqa: E501 + + :param active: The active of this V1CronJobStatus. # noqa: E501 + :type: list[V1ObjectReference] + """ + + self._active = active + + @property + def last_schedule_time(self): + """Gets the last_schedule_time of this V1CronJobStatus. # noqa: E501 + + Information when was the last time the job was successfully scheduled. # noqa: E501 + + :return: The last_schedule_time of this V1CronJobStatus. # noqa: E501 + :rtype: datetime + """ + return self._last_schedule_time + + @last_schedule_time.setter + def last_schedule_time(self, last_schedule_time): + """Sets the last_schedule_time of this V1CronJobStatus. + + Information when was the last time the job was successfully scheduled. # noqa: E501 + + :param last_schedule_time: The last_schedule_time of this V1CronJobStatus. # noqa: E501 + :type: datetime + """ + + self._last_schedule_time = last_schedule_time + + @property + def last_successful_time(self): + """Gets the last_successful_time of this V1CronJobStatus. # noqa: E501 + + Information when was the last time the job successfully completed. # noqa: E501 + + :return: The last_successful_time of this V1CronJobStatus. # noqa: E501 + :rtype: datetime + """ + return self._last_successful_time + + @last_successful_time.setter + def last_successful_time(self, last_successful_time): + """Sets the last_successful_time of this V1CronJobStatus. + + Information when was the last time the job successfully completed. # noqa: E501 + + :param last_successful_time: The last_successful_time of this V1CronJobStatus. # noqa: E501 + :type: datetime + """ + + self._last_successful_time = last_successful_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CronJobStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CronJobStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cross_version_object_reference.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cross_version_object_reference.py new file mode 100644 index 0000000000000000000000000000000000000000..7a8dd76ea2ef03b3d887775d348921020d4a985e --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_cross_version_object_reference.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CrossVersionObjectReference(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'name': 'str' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'name': 'name' + } + + def __init__(self, api_version=None, kind=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1CrossVersionObjectReference - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._name = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.kind = kind + self.name = name + + @property + def api_version(self): + """Gets the api_version of this V1CrossVersionObjectReference. # noqa: E501 + + apiVersion is the API version of the referent # noqa: E501 + + :return: The api_version of this V1CrossVersionObjectReference. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CrossVersionObjectReference. + + apiVersion is the API version of the referent # noqa: E501 + + :param api_version: The api_version of this V1CrossVersionObjectReference. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1CrossVersionObjectReference. # noqa: E501 + + kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CrossVersionObjectReference. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CrossVersionObjectReference. + + kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CrossVersionObjectReference. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 + raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 + + self._kind = kind + + @property + def name(self): + """Gets the name of this V1CrossVersionObjectReference. # noqa: E501 + + name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :return: The name of this V1CrossVersionObjectReference. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1CrossVersionObjectReference. + + name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names # noqa: E501 + + :param name: The name of this V1CrossVersionObjectReference. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CrossVersionObjectReference): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CrossVersionObjectReference): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver.py new file mode 100644 index 0000000000000000000000000000000000000000..9b0766991afd5082bddf50da5c39c11eae649f31 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSIDriver(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1CSIDriverSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 + """V1CSIDriver - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1CSIDriver. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSIDriver. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSIDriver. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSIDriver. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1CSIDriver. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSIDriver. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSIDriver. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSIDriver. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CSIDriver. # noqa: E501 + + + :return: The metadata of this V1CSIDriver. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSIDriver. + + + :param metadata: The metadata of this V1CSIDriver. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1CSIDriver. # noqa: E501 + + + :return: The spec of this V1CSIDriver. # noqa: E501 + :rtype: V1CSIDriverSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1CSIDriver. + + + :param spec: The spec of this V1CSIDriver. # noqa: E501 + :type: V1CSIDriverSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSIDriver): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSIDriver): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver_list.py new file mode 100644 index 0000000000000000000000000000000000000000..d8dafa0ca93228fb94f52debc6b358ef4a31f5df --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSIDriverList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1CSIDriver]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1CSIDriverList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1CSIDriverList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSIDriverList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSIDriverList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSIDriverList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1CSIDriverList. # noqa: E501 + + items is the list of CSIDriver # noqa: E501 + + :return: The items of this V1CSIDriverList. # noqa: E501 + :rtype: list[V1CSIDriver] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1CSIDriverList. + + items is the list of CSIDriver # noqa: E501 + + :param items: The items of this V1CSIDriverList. # noqa: E501 + :type: list[V1CSIDriver] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1CSIDriverList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSIDriverList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSIDriverList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSIDriverList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CSIDriverList. # noqa: E501 + + + :return: The metadata of this V1CSIDriverList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSIDriverList. + + + :param metadata: The metadata of this V1CSIDriverList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSIDriverList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSIDriverList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..0346cd7e1336c6febc4e18434e119fb3b6e2d46c --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_driver_spec.py @@ -0,0 +1,374 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSIDriverSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'attach_required': 'bool', + 'fs_group_policy': 'str', + 'node_allocatable_update_period_seconds': 'int', + 'pod_info_on_mount': 'bool', + 'requires_republish': 'bool', + 'se_linux_mount': 'bool', + 'service_account_token_in_secrets': 'bool', + 'storage_capacity': 'bool', + 'token_requests': 'list[StorageV1TokenRequest]', + 'volume_lifecycle_modes': 'list[str]' + } + + attribute_map = { + 'attach_required': 'attachRequired', + 'fs_group_policy': 'fsGroupPolicy', + 'node_allocatable_update_period_seconds': 'nodeAllocatableUpdatePeriodSeconds', + 'pod_info_on_mount': 'podInfoOnMount', + 'requires_republish': 'requiresRepublish', + 'se_linux_mount': 'seLinuxMount', + 'service_account_token_in_secrets': 'serviceAccountTokenInSecrets', + 'storage_capacity': 'storageCapacity', + 'token_requests': 'tokenRequests', + 'volume_lifecycle_modes': 'volumeLifecycleModes' + } + + def __init__(self, attach_required=None, fs_group_policy=None, node_allocatable_update_period_seconds=None, pod_info_on_mount=None, requires_republish=None, se_linux_mount=None, service_account_token_in_secrets=None, storage_capacity=None, token_requests=None, volume_lifecycle_modes=None, local_vars_configuration=None): # noqa: E501 + """V1CSIDriverSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._attach_required = None + self._fs_group_policy = None + self._node_allocatable_update_period_seconds = None + self._pod_info_on_mount = None + self._requires_republish = None + self._se_linux_mount = None + self._service_account_token_in_secrets = None + self._storage_capacity = None + self._token_requests = None + self._volume_lifecycle_modes = None + self.discriminator = None + + if attach_required is not None: + self.attach_required = attach_required + if fs_group_policy is not None: + self.fs_group_policy = fs_group_policy + if node_allocatable_update_period_seconds is not None: + self.node_allocatable_update_period_seconds = node_allocatable_update_period_seconds + if pod_info_on_mount is not None: + self.pod_info_on_mount = pod_info_on_mount + if requires_republish is not None: + self.requires_republish = requires_republish + if se_linux_mount is not None: + self.se_linux_mount = se_linux_mount + if service_account_token_in_secrets is not None: + self.service_account_token_in_secrets = service_account_token_in_secrets + if storage_capacity is not None: + self.storage_capacity = storage_capacity + if token_requests is not None: + self.token_requests = token_requests + if volume_lifecycle_modes is not None: + self.volume_lifecycle_modes = volume_lifecycle_modes + + @property + def attach_required(self): + """Gets the attach_required of this V1CSIDriverSpec. # noqa: E501 + + attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. # noqa: E501 + + :return: The attach_required of this V1CSIDriverSpec. # noqa: E501 + :rtype: bool + """ + return self._attach_required + + @attach_required.setter + def attach_required(self, attach_required): + """Sets the attach_required of this V1CSIDriverSpec. + + attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. # noqa: E501 + + :param attach_required: The attach_required of this V1CSIDriverSpec. # noqa: E501 + :type: bool + """ + + self._attach_required = attach_required + + @property + def fs_group_policy(self): + """Gets the fs_group_policy of this V1CSIDriverSpec. # noqa: E501 + + fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field was immutable in Kubernetes < 1.29 and now is mutable. Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce. # noqa: E501 + + :return: The fs_group_policy of this V1CSIDriverSpec. # noqa: E501 + :rtype: str + """ + return self._fs_group_policy + + @fs_group_policy.setter + def fs_group_policy(self, fs_group_policy): + """Sets the fs_group_policy of this V1CSIDriverSpec. + + fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field was immutable in Kubernetes < 1.29 and now is mutable. Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce. # noqa: E501 + + :param fs_group_policy: The fs_group_policy of this V1CSIDriverSpec. # noqa: E501 + :type: str + """ + + self._fs_group_policy = fs_group_policy + + @property + def node_allocatable_update_period_seconds(self): + """Gets the node_allocatable_update_period_seconds of this V1CSIDriverSpec. # noqa: E501 + + nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. # noqa: E501 + + :return: The node_allocatable_update_period_seconds of this V1CSIDriverSpec. # noqa: E501 + :rtype: int + """ + return self._node_allocatable_update_period_seconds + + @node_allocatable_update_period_seconds.setter + def node_allocatable_update_period_seconds(self, node_allocatable_update_period_seconds): + """Sets the node_allocatable_update_period_seconds of this V1CSIDriverSpec. + + nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds. This is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled. This field is mutable. # noqa: E501 + + :param node_allocatable_update_period_seconds: The node_allocatable_update_period_seconds of this V1CSIDriverSpec. # noqa: E501 + :type: int + """ + + self._node_allocatable_update_period_seconds = node_allocatable_update_period_seconds + + @property + def pod_info_on_mount(self): + """Gets the pod_info_on_mount of this V1CSIDriverSpec. # noqa: E501 + + podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field was immutable in Kubernetes < 1.29 and now is mutable. # noqa: E501 + + :return: The pod_info_on_mount of this V1CSIDriverSpec. # noqa: E501 + :rtype: bool + """ + return self._pod_info_on_mount + + @pod_info_on_mount.setter + def pod_info_on_mount(self, pod_info_on_mount): + """Sets the pod_info_on_mount of this V1CSIDriverSpec. + + podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field was immutable in Kubernetes < 1.29 and now is mutable. # noqa: E501 + + :param pod_info_on_mount: The pod_info_on_mount of this V1CSIDriverSpec. # noqa: E501 + :type: bool + """ + + self._pod_info_on_mount = pod_info_on_mount + + @property + def requires_republish(self): + """Gets the requires_republish of this V1CSIDriverSpec. # noqa: E501 + + requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false. Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. # noqa: E501 + + :return: The requires_republish of this V1CSIDriverSpec. # noqa: E501 + :rtype: bool + """ + return self._requires_republish + + @requires_republish.setter + def requires_republish(self, requires_republish): + """Sets the requires_republish of this V1CSIDriverSpec. + + requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false. Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. # noqa: E501 + + :param requires_republish: The requires_republish of this V1CSIDriverSpec. # noqa: E501 + :type: bool + """ + + self._requires_republish = requires_republish + + @property + def se_linux_mount(self): + """Gets the se_linux_mount of this V1CSIDriverSpec. # noqa: E501 + + seLinuxMount specifies if the CSI driver supports \"-o context\" mount option. When \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context. When \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem. Default is \"false\". # noqa: E501 + + :return: The se_linux_mount of this V1CSIDriverSpec. # noqa: E501 + :rtype: bool + """ + return self._se_linux_mount + + @se_linux_mount.setter + def se_linux_mount(self, se_linux_mount): + """Sets the se_linux_mount of this V1CSIDriverSpec. + + seLinuxMount specifies if the CSI driver supports \"-o context\" mount option. When \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context. When \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem. Default is \"false\". # noqa: E501 + + :param se_linux_mount: The se_linux_mount of this V1CSIDriverSpec. # noqa: E501 + :type: bool + """ + + self._se_linux_mount = se_linux_mount + + @property + def service_account_token_in_secrets(self): + """Gets the service_account_token_in_secrets of this V1CSIDriverSpec. # noqa: E501 + + serviceAccountTokenInSecrets is an opt-in for CSI drivers to indicate that service account tokens should be passed via the Secrets field in NodePublishVolumeRequest instead of the VolumeContext field. The CSI specification provides a dedicated Secrets field for sensitive information like tokens, which is the appropriate mechanism for handling credentials. This addresses security concerns where sensitive tokens were being logged as part of volume context. When \"true\", kubelet will pass the tokens only in the Secrets field with the key \"csi.storage.k8s.io/serviceAccount.tokens\". The CSI driver must be updated to read tokens from the Secrets field instead of VolumeContext. When \"false\" or not set, kubelet will pass the tokens in VolumeContext with the key \"csi.storage.k8s.io/serviceAccount.tokens\" (existing behavior). This maintains backward compatibility with existing CSI drivers. This field can only be set when TokenRequests is configured. The API server will reject CSIDriver specs that set this field without TokenRequests. Default behavior if unset is to pass tokens in the VolumeContext field. # noqa: E501 + + :return: The service_account_token_in_secrets of this V1CSIDriverSpec. # noqa: E501 + :rtype: bool + """ + return self._service_account_token_in_secrets + + @service_account_token_in_secrets.setter + def service_account_token_in_secrets(self, service_account_token_in_secrets): + """Sets the service_account_token_in_secrets of this V1CSIDriverSpec. + + serviceAccountTokenInSecrets is an opt-in for CSI drivers to indicate that service account tokens should be passed via the Secrets field in NodePublishVolumeRequest instead of the VolumeContext field. The CSI specification provides a dedicated Secrets field for sensitive information like tokens, which is the appropriate mechanism for handling credentials. This addresses security concerns where sensitive tokens were being logged as part of volume context. When \"true\", kubelet will pass the tokens only in the Secrets field with the key \"csi.storage.k8s.io/serviceAccount.tokens\". The CSI driver must be updated to read tokens from the Secrets field instead of VolumeContext. When \"false\" or not set, kubelet will pass the tokens in VolumeContext with the key \"csi.storage.k8s.io/serviceAccount.tokens\" (existing behavior). This maintains backward compatibility with existing CSI drivers. This field can only be set when TokenRequests is configured. The API server will reject CSIDriver specs that set this field without TokenRequests. Default behavior if unset is to pass tokens in the VolumeContext field. # noqa: E501 + + :param service_account_token_in_secrets: The service_account_token_in_secrets of this V1CSIDriverSpec. # noqa: E501 + :type: bool + """ + + self._service_account_token_in_secrets = service_account_token_in_secrets + + @property + def storage_capacity(self): + """Gets the storage_capacity of this V1CSIDriverSpec. # noqa: E501 + + storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true. The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object. Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This field was immutable in Kubernetes <= 1.22 and now is mutable. # noqa: E501 + + :return: The storage_capacity of this V1CSIDriverSpec. # noqa: E501 + :rtype: bool + """ + return self._storage_capacity + + @storage_capacity.setter + def storage_capacity(self, storage_capacity): + """Sets the storage_capacity of this V1CSIDriverSpec. + + storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true. The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object. Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This field was immutable in Kubernetes <= 1.22 and now is mutable. # noqa: E501 + + :param storage_capacity: The storage_capacity of this V1CSIDriverSpec. # noqa: E501 + :type: bool + """ + + self._storage_capacity = storage_capacity + + @property + def token_requests(self): + """Gets the token_requests of this V1CSIDriverSpec. # noqa: E501 + + tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": { \"\": { \"token\": , \"expirationTimestamp\": , }, ... } Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically. # noqa: E501 + + :return: The token_requests of this V1CSIDriverSpec. # noqa: E501 + :rtype: list[StorageV1TokenRequest] + """ + return self._token_requests + + @token_requests.setter + def token_requests(self, token_requests): + """Sets the token_requests of this V1CSIDriverSpec. + + tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": { \"\": { \"token\": , \"expirationTimestamp\": , }, ... } Note: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically. # noqa: E501 + + :param token_requests: The token_requests of this V1CSIDriverSpec. # noqa: E501 + :type: list[StorageV1TokenRequest] + """ + + self._token_requests = token_requests + + @property + def volume_lifecycle_modes(self): + """Gets the volume_lifecycle_modes of this V1CSIDriverSpec. # noqa: E501 + + volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta. This field is immutable. # noqa: E501 + + :return: The volume_lifecycle_modes of this V1CSIDriverSpec. # noqa: E501 + :rtype: list[str] + """ + return self._volume_lifecycle_modes + + @volume_lifecycle_modes.setter + def volume_lifecycle_modes(self, volume_lifecycle_modes): + """Sets the volume_lifecycle_modes of this V1CSIDriverSpec. + + volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism. The other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. For more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future. This field is beta. This field is immutable. # noqa: E501 + + :param volume_lifecycle_modes: The volume_lifecycle_modes of this V1CSIDriverSpec. # noqa: E501 + :type: list[str] + """ + + self._volume_lifecycle_modes = volume_lifecycle_modes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSIDriverSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSIDriverSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node.py new file mode 100644 index 0000000000000000000000000000000000000000..6d873c7fe9cec05505d8e2a26891c5fe105ec5fb --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINode(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1CSINodeSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 + """V1CSINode - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1CSINode. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSINode. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSINode. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSINode. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1CSINode. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSINode. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSINode. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSINode. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CSINode. # noqa: E501 + + + :return: The metadata of this V1CSINode. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSINode. + + + :param metadata: The metadata of this V1CSINode. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1CSINode. # noqa: E501 + + + :return: The spec of this V1CSINode. # noqa: E501 + :rtype: V1CSINodeSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1CSINode. + + + :param spec: The spec of this V1CSINode. # noqa: E501 + :type: V1CSINodeSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSINode): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINode): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_driver.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_driver.py new file mode 100644 index 0000000000000000000000000000000000000000..2949c31e6a04e5096f17f4f2c69ca1e85effe89a --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_driver.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINodeDriver(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'allocatable': 'V1VolumeNodeResources', + 'name': 'str', + 'node_id': 'str', + 'topology_keys': 'list[str]' + } + + attribute_map = { + 'allocatable': 'allocatable', + 'name': 'name', + 'node_id': 'nodeID', + 'topology_keys': 'topologyKeys' + } + + def __init__(self, allocatable=None, name=None, node_id=None, topology_keys=None, local_vars_configuration=None): # noqa: E501 + """V1CSINodeDriver - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._allocatable = None + self._name = None + self._node_id = None + self._topology_keys = None + self.discriminator = None + + if allocatable is not None: + self.allocatable = allocatable + self.name = name + self.node_id = node_id + if topology_keys is not None: + self.topology_keys = topology_keys + + @property + def allocatable(self): + """Gets the allocatable of this V1CSINodeDriver. # noqa: E501 + + + :return: The allocatable of this V1CSINodeDriver. # noqa: E501 + :rtype: V1VolumeNodeResources + """ + return self._allocatable + + @allocatable.setter + def allocatable(self, allocatable): + """Sets the allocatable of this V1CSINodeDriver. + + + :param allocatable: The allocatable of this V1CSINodeDriver. # noqa: E501 + :type: V1VolumeNodeResources + """ + + self._allocatable = allocatable + + @property + def name(self): + """Gets the name of this V1CSINodeDriver. # noqa: E501 + + name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. # noqa: E501 + + :return: The name of this V1CSINodeDriver. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1CSINodeDriver. + + name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. # noqa: E501 + + :param name: The name of this V1CSINodeDriver. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def node_id(self): + """Gets the node_id of this V1CSINodeDriver. # noqa: E501 + + nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. # noqa: E501 + + :return: The node_id of this V1CSINodeDriver. # noqa: E501 + :rtype: str + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this V1CSINodeDriver. + + nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. # noqa: E501 + + :param node_id: The node_id of this V1CSINodeDriver. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and node_id is None: # noqa: E501 + raise ValueError("Invalid value for `node_id`, must not be `None`") # noqa: E501 + + self._node_id = node_id + + @property + def topology_keys(self): + """Gets the topology_keys of this V1CSINodeDriver. # noqa: E501 + + topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. # noqa: E501 + + :return: The topology_keys of this V1CSINodeDriver. # noqa: E501 + :rtype: list[str] + """ + return self._topology_keys + + @topology_keys.setter + def topology_keys(self, topology_keys): + """Sets the topology_keys of this V1CSINodeDriver. + + topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. # noqa: E501 + + :param topology_keys: The topology_keys of this V1CSINodeDriver. # noqa: E501 + :type: list[str] + """ + + self._topology_keys = topology_keys + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSINodeDriver): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINodeDriver): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_list.py new file mode 100644 index 0000000000000000000000000000000000000000..9ece4006d7ac30da119b73ae154c158feb62455c --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINodeList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1CSINode]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1CSINodeList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1CSINodeList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSINodeList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSINodeList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSINodeList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1CSINodeList. # noqa: E501 + + items is the list of CSINode # noqa: E501 + + :return: The items of this V1CSINodeList. # noqa: E501 + :rtype: list[V1CSINode] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1CSINodeList. + + items is the list of CSINode # noqa: E501 + + :param items: The items of this V1CSINodeList. # noqa: E501 + :type: list[V1CSINode] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1CSINodeList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSINodeList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSINodeList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSINodeList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CSINodeList. # noqa: E501 + + + :return: The metadata of this V1CSINodeList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSINodeList. + + + :param metadata: The metadata of this V1CSINodeList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSINodeList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINodeList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..552d3e83a0d0e059ec3e11f73689ef73f427b3a5 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_node_spec.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINodeSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'drivers': 'list[V1CSINodeDriver]' + } + + attribute_map = { + 'drivers': 'drivers' + } + + def __init__(self, drivers=None, local_vars_configuration=None): # noqa: E501 + """V1CSINodeSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._drivers = None + self.discriminator = None + + self.drivers = drivers + + @property + def drivers(self): + """Gets the drivers of this V1CSINodeSpec. # noqa: E501 + + drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. # noqa: E501 + + :return: The drivers of this V1CSINodeSpec. # noqa: E501 + :rtype: list[V1CSINodeDriver] + """ + return self._drivers + + @drivers.setter + def drivers(self, drivers): + """Sets the drivers of this V1CSINodeSpec. + + drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. # noqa: E501 + + :param drivers: The drivers of this V1CSINodeSpec. # noqa: E501 + :type: list[V1CSINodeDriver] + """ + if self.local_vars_configuration.client_side_validation and drivers is None: # noqa: E501 + raise ValueError("Invalid value for `drivers`, must not be `None`") # noqa: E501 + + self._drivers = drivers + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSINodeSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINodeSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_persistent_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_persistent_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..99ca2197b6cf780951845bdab7eac0adc6957ccf --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_persistent_volume_source.py @@ -0,0 +1,366 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSIPersistentVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'controller_expand_secret_ref': 'V1SecretReference', + 'controller_publish_secret_ref': 'V1SecretReference', + 'driver': 'str', + 'fs_type': 'str', + 'node_expand_secret_ref': 'V1SecretReference', + 'node_publish_secret_ref': 'V1SecretReference', + 'node_stage_secret_ref': 'V1SecretReference', + 'read_only': 'bool', + 'volume_attributes': 'dict(str, str)', + 'volume_handle': 'str' + } + + attribute_map = { + 'controller_expand_secret_ref': 'controllerExpandSecretRef', + 'controller_publish_secret_ref': 'controllerPublishSecretRef', + 'driver': 'driver', + 'fs_type': 'fsType', + 'node_expand_secret_ref': 'nodeExpandSecretRef', + 'node_publish_secret_ref': 'nodePublishSecretRef', + 'node_stage_secret_ref': 'nodeStageSecretRef', + 'read_only': 'readOnly', + 'volume_attributes': 'volumeAttributes', + 'volume_handle': 'volumeHandle' + } + + def __init__(self, controller_expand_secret_ref=None, controller_publish_secret_ref=None, driver=None, fs_type=None, node_expand_secret_ref=None, node_publish_secret_ref=None, node_stage_secret_ref=None, read_only=None, volume_attributes=None, volume_handle=None, local_vars_configuration=None): # noqa: E501 + """V1CSIPersistentVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._controller_expand_secret_ref = None + self._controller_publish_secret_ref = None + self._driver = None + self._fs_type = None + self._node_expand_secret_ref = None + self._node_publish_secret_ref = None + self._node_stage_secret_ref = None + self._read_only = None + self._volume_attributes = None + self._volume_handle = None + self.discriminator = None + + if controller_expand_secret_ref is not None: + self.controller_expand_secret_ref = controller_expand_secret_ref + if controller_publish_secret_ref is not None: + self.controller_publish_secret_ref = controller_publish_secret_ref + self.driver = driver + if fs_type is not None: + self.fs_type = fs_type + if node_expand_secret_ref is not None: + self.node_expand_secret_ref = node_expand_secret_ref + if node_publish_secret_ref is not None: + self.node_publish_secret_ref = node_publish_secret_ref + if node_stage_secret_ref is not None: + self.node_stage_secret_ref = node_stage_secret_ref + if read_only is not None: + self.read_only = read_only + if volume_attributes is not None: + self.volume_attributes = volume_attributes + self.volume_handle = volume_handle + + @property + def controller_expand_secret_ref(self): + """Gets the controller_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + + + :return: The controller_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: V1SecretReference + """ + return self._controller_expand_secret_ref + + @controller_expand_secret_ref.setter + def controller_expand_secret_ref(self, controller_expand_secret_ref): + """Sets the controller_expand_secret_ref of this V1CSIPersistentVolumeSource. + + + :param controller_expand_secret_ref: The controller_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: V1SecretReference + """ + + self._controller_expand_secret_ref = controller_expand_secret_ref + + @property + def controller_publish_secret_ref(self): + """Gets the controller_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + + + :return: The controller_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: V1SecretReference + """ + return self._controller_publish_secret_ref + + @controller_publish_secret_ref.setter + def controller_publish_secret_ref(self, controller_publish_secret_ref): + """Sets the controller_publish_secret_ref of this V1CSIPersistentVolumeSource. + + + :param controller_publish_secret_ref: The controller_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: V1SecretReference + """ + + self._controller_publish_secret_ref = controller_publish_secret_ref + + @property + def driver(self): + """Gets the driver of this V1CSIPersistentVolumeSource. # noqa: E501 + + driver is the name of the driver to use for this volume. Required. # noqa: E501 + + :return: The driver of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1CSIPersistentVolumeSource. + + driver is the name of the driver to use for this volume. Required. # noqa: E501 + + :param driver: The driver of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def fs_type(self): + """Gets the fs_type of this V1CSIPersistentVolumeSource. # noqa: E501 + + fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". # noqa: E501 + + :return: The fs_type of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """Sets the fs_type of this V1CSIPersistentVolumeSource. + + fsType to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". # noqa: E501 + + :param fs_type: The fs_type of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: str + """ + + self._fs_type = fs_type + + @property + def node_expand_secret_ref(self): + """Gets the node_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + + + :return: The node_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: V1SecretReference + """ + return self._node_expand_secret_ref + + @node_expand_secret_ref.setter + def node_expand_secret_ref(self, node_expand_secret_ref): + """Sets the node_expand_secret_ref of this V1CSIPersistentVolumeSource. + + + :param node_expand_secret_ref: The node_expand_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: V1SecretReference + """ + + self._node_expand_secret_ref = node_expand_secret_ref + + @property + def node_publish_secret_ref(self): + """Gets the node_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + + + :return: The node_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: V1SecretReference + """ + return self._node_publish_secret_ref + + @node_publish_secret_ref.setter + def node_publish_secret_ref(self, node_publish_secret_ref): + """Sets the node_publish_secret_ref of this V1CSIPersistentVolumeSource. + + + :param node_publish_secret_ref: The node_publish_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: V1SecretReference + """ + + self._node_publish_secret_ref = node_publish_secret_ref + + @property + def node_stage_secret_ref(self): + """Gets the node_stage_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + + + :return: The node_stage_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: V1SecretReference + """ + return self._node_stage_secret_ref + + @node_stage_secret_ref.setter + def node_stage_secret_ref(self, node_stage_secret_ref): + """Sets the node_stage_secret_ref of this V1CSIPersistentVolumeSource. + + + :param node_stage_secret_ref: The node_stage_secret_ref of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: V1SecretReference + """ + + self._node_stage_secret_ref = node_stage_secret_ref + + @property + def read_only(self): + """Gets the read_only of this V1CSIPersistentVolumeSource. # noqa: E501 + + readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). # noqa: E501 + + :return: The read_only of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1CSIPersistentVolumeSource. + + readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). # noqa: E501 + + :param read_only: The read_only of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def volume_attributes(self): + """Gets the volume_attributes of this V1CSIPersistentVolumeSource. # noqa: E501 + + volumeAttributes of the volume to publish. # noqa: E501 + + :return: The volume_attributes of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: dict(str, str) + """ + return self._volume_attributes + + @volume_attributes.setter + def volume_attributes(self, volume_attributes): + """Sets the volume_attributes of this V1CSIPersistentVolumeSource. + + volumeAttributes of the volume to publish. # noqa: E501 + + :param volume_attributes: The volume_attributes of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: dict(str, str) + """ + + self._volume_attributes = volume_attributes + + @property + def volume_handle(self): + """Gets the volume_handle of this V1CSIPersistentVolumeSource. # noqa: E501 + + volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. # noqa: E501 + + :return: The volume_handle of this V1CSIPersistentVolumeSource. # noqa: E501 + :rtype: str + """ + return self._volume_handle + + @volume_handle.setter + def volume_handle(self, volume_handle): + """Sets the volume_handle of this V1CSIPersistentVolumeSource. + + volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. # noqa: E501 + + :param volume_handle: The volume_handle of this V1CSIPersistentVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and volume_handle is None: # noqa: E501 + raise ValueError("Invalid value for `volume_handle`, must not be `None`") # noqa: E501 + + self._volume_handle = volume_handle + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSIPersistentVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSIPersistentVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_storage_capacity.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_storage_capacity.py new file mode 100644 index 0000000000000000000000000000000000000000..3a31f36246f13760436f3f920b4d899a1b90493d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_storage_capacity.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSIStorageCapacity(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'capacity': 'str', + 'kind': 'str', + 'maximum_volume_size': 'str', + 'metadata': 'V1ObjectMeta', + 'node_topology': 'V1LabelSelector', + 'storage_class_name': 'str' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'capacity': 'capacity', + 'kind': 'kind', + 'maximum_volume_size': 'maximumVolumeSize', + 'metadata': 'metadata', + 'node_topology': 'nodeTopology', + 'storage_class_name': 'storageClassName' + } + + def __init__(self, api_version=None, capacity=None, kind=None, maximum_volume_size=None, metadata=None, node_topology=None, storage_class_name=None, local_vars_configuration=None): # noqa: E501 + """V1CSIStorageCapacity - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._capacity = None + self._kind = None + self._maximum_volume_size = None + self._metadata = None + self._node_topology = None + self._storage_class_name = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if capacity is not None: + self.capacity = capacity + if kind is not None: + self.kind = kind + if maximum_volume_size is not None: + self.maximum_volume_size = maximum_volume_size + if metadata is not None: + self.metadata = metadata + if node_topology is not None: + self.node_topology = node_topology + self.storage_class_name = storage_class_name + + @property + def api_version(self): + """Gets the api_version of this V1CSIStorageCapacity. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSIStorageCapacity. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSIStorageCapacity. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSIStorageCapacity. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def capacity(self): + """Gets the capacity of this V1CSIStorageCapacity. # noqa: E501 + + capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable. # noqa: E501 + + :return: The capacity of this V1CSIStorageCapacity. # noqa: E501 + :rtype: str + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this V1CSIStorageCapacity. + + capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. The semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable. # noqa: E501 + + :param capacity: The capacity of this V1CSIStorageCapacity. # noqa: E501 + :type: str + """ + + self._capacity = capacity + + @property + def kind(self): + """Gets the kind of this V1CSIStorageCapacity. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSIStorageCapacity. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSIStorageCapacity. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSIStorageCapacity. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def maximum_volume_size(self): + """Gets the maximum_volume_size of this V1CSIStorageCapacity. # noqa: E501 + + maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. # noqa: E501 + + :return: The maximum_volume_size of this V1CSIStorageCapacity. # noqa: E501 + :rtype: str + """ + return self._maximum_volume_size + + @maximum_volume_size.setter + def maximum_volume_size(self, maximum_volume_size): + """Sets the maximum_volume_size of this V1CSIStorageCapacity. + + maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields. This is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim. # noqa: E501 + + :param maximum_volume_size: The maximum_volume_size of this V1CSIStorageCapacity. # noqa: E501 + :type: str + """ + + self._maximum_volume_size = maximum_volume_size + + @property + def metadata(self): + """Gets the metadata of this V1CSIStorageCapacity. # noqa: E501 + + + :return: The metadata of this V1CSIStorageCapacity. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSIStorageCapacity. + + + :param metadata: The metadata of this V1CSIStorageCapacity. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def node_topology(self): + """Gets the node_topology of this V1CSIStorageCapacity. # noqa: E501 + + + :return: The node_topology of this V1CSIStorageCapacity. # noqa: E501 + :rtype: V1LabelSelector + """ + return self._node_topology + + @node_topology.setter + def node_topology(self, node_topology): + """Sets the node_topology of this V1CSIStorageCapacity. + + + :param node_topology: The node_topology of this V1CSIStorageCapacity. # noqa: E501 + :type: V1LabelSelector + """ + + self._node_topology = node_topology + + @property + def storage_class_name(self): + """Gets the storage_class_name of this V1CSIStorageCapacity. # noqa: E501 + + storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. # noqa: E501 + + :return: The storage_class_name of this V1CSIStorageCapacity. # noqa: E501 + :rtype: str + """ + return self._storage_class_name + + @storage_class_name.setter + def storage_class_name(self, storage_class_name): + """Sets the storage_class_name of this V1CSIStorageCapacity. + + storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable. # noqa: E501 + + :param storage_class_name: The storage_class_name of this V1CSIStorageCapacity. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and storage_class_name is None: # noqa: E501 + raise ValueError("Invalid value for `storage_class_name`, must not be `None`") # noqa: E501 + + self._storage_class_name = storage_class_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSIStorageCapacity): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSIStorageCapacity): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_storage_capacity_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_storage_capacity_list.py new file mode 100644 index 0000000000000000000000000000000000000000..fa4977a695e4a7a81ccbe6aeca681b21e0609e98 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_storage_capacity_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSIStorageCapacityList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1CSIStorageCapacity]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1CSIStorageCapacityList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1CSIStorageCapacityList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSIStorageCapacityList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSIStorageCapacityList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSIStorageCapacityList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1CSIStorageCapacityList. # noqa: E501 + + items is the list of CSIStorageCapacity objects. # noqa: E501 + + :return: The items of this V1CSIStorageCapacityList. # noqa: E501 + :rtype: list[V1CSIStorageCapacity] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1CSIStorageCapacityList. + + items is the list of CSIStorageCapacity objects. # noqa: E501 + + :param items: The items of this V1CSIStorageCapacityList. # noqa: E501 + :type: list[V1CSIStorageCapacity] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1CSIStorageCapacityList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSIStorageCapacityList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSIStorageCapacityList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSIStorageCapacityList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CSIStorageCapacityList. # noqa: E501 + + + :return: The metadata of this V1CSIStorageCapacityList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSIStorageCapacityList. + + + :param metadata: The metadata of this V1CSIStorageCapacityList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSIStorageCapacityList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSIStorageCapacityList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_volume_source.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_volume_source.py new file mode 100644 index 0000000000000000000000000000000000000000..eb2a68d692f5ee563b13278696faff918079f00d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_csi_volume_source.py @@ -0,0 +1,233 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSIVolumeSource(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'driver': 'str', + 'fs_type': 'str', + 'node_publish_secret_ref': 'V1LocalObjectReference', + 'read_only': 'bool', + 'volume_attributes': 'dict(str, str)' + } + + attribute_map = { + 'driver': 'driver', + 'fs_type': 'fsType', + 'node_publish_secret_ref': 'nodePublishSecretRef', + 'read_only': 'readOnly', + 'volume_attributes': 'volumeAttributes' + } + + def __init__(self, driver=None, fs_type=None, node_publish_secret_ref=None, read_only=None, volume_attributes=None, local_vars_configuration=None): # noqa: E501 + """V1CSIVolumeSource - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._driver = None + self._fs_type = None + self._node_publish_secret_ref = None + self._read_only = None + self._volume_attributes = None + self.discriminator = None + + self.driver = driver + if fs_type is not None: + self.fs_type = fs_type + if node_publish_secret_ref is not None: + self.node_publish_secret_ref = node_publish_secret_ref + if read_only is not None: + self.read_only = read_only + if volume_attributes is not None: + self.volume_attributes = volume_attributes + + @property + def driver(self): + """Gets the driver of this V1CSIVolumeSource. # noqa: E501 + + driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. # noqa: E501 + + :return: The driver of this V1CSIVolumeSource. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1CSIVolumeSource. + + driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster. # noqa: E501 + + :param driver: The driver of this V1CSIVolumeSource. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def fs_type(self): + """Gets the fs_type of this V1CSIVolumeSource. # noqa: E501 + + fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. # noqa: E501 + + :return: The fs_type of this V1CSIVolumeSource. # noqa: E501 + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """Sets the fs_type of this V1CSIVolumeSource. + + fsType to mount. Ex. \"ext4\", \"xfs\", \"ntfs\". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. # noqa: E501 + + :param fs_type: The fs_type of this V1CSIVolumeSource. # noqa: E501 + :type: str + """ + + self._fs_type = fs_type + + @property + def node_publish_secret_ref(self): + """Gets the node_publish_secret_ref of this V1CSIVolumeSource. # noqa: E501 + + + :return: The node_publish_secret_ref of this V1CSIVolumeSource. # noqa: E501 + :rtype: V1LocalObjectReference + """ + return self._node_publish_secret_ref + + @node_publish_secret_ref.setter + def node_publish_secret_ref(self, node_publish_secret_ref): + """Sets the node_publish_secret_ref of this V1CSIVolumeSource. + + + :param node_publish_secret_ref: The node_publish_secret_ref of this V1CSIVolumeSource. # noqa: E501 + :type: V1LocalObjectReference + """ + + self._node_publish_secret_ref = node_publish_secret_ref + + @property + def read_only(self): + """Gets the read_only of this V1CSIVolumeSource. # noqa: E501 + + readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). # noqa: E501 + + :return: The read_only of this V1CSIVolumeSource. # noqa: E501 + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """Sets the read_only of this V1CSIVolumeSource. + + readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). # noqa: E501 + + :param read_only: The read_only of this V1CSIVolumeSource. # noqa: E501 + :type: bool + """ + + self._read_only = read_only + + @property + def volume_attributes(self): + """Gets the volume_attributes of this V1CSIVolumeSource. # noqa: E501 + + volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. # noqa: E501 + + :return: The volume_attributes of this V1CSIVolumeSource. # noqa: E501 + :rtype: dict(str, str) + """ + return self._volume_attributes + + @volume_attributes.setter + def volume_attributes(self, volume_attributes): + """Sets the volume_attributes of this V1CSIVolumeSource. + + volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. # noqa: E501 + + :param volume_attributes: The volume_attributes of this V1CSIVolumeSource. # noqa: E501 + :type: dict(str, str) + """ + + self._volume_attributes = volume_attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CSIVolumeSource): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSIVolumeSource): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_column_definition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_column_definition.py new file mode 100644 index 0000000000000000000000000000000000000000..a6e8d7d49a879061d67f29541e21c376105e4c69 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_column_definition.py @@ -0,0 +1,265 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceColumnDefinition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'format': 'str', + 'json_path': 'str', + 'name': 'str', + 'priority': 'int', + 'type': 'str' + } + + attribute_map = { + 'description': 'description', + 'format': 'format', + 'json_path': 'jsonPath', + 'name': 'name', + 'priority': 'priority', + 'type': 'type' + } + + def __init__(self, description=None, format=None, json_path=None, name=None, priority=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceColumnDefinition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._description = None + self._format = None + self._json_path = None + self._name = None + self._priority = None + self._type = None + self.discriminator = None + + if description is not None: + self.description = description + if format is not None: + self.format = format + self.json_path = json_path + self.name = name + if priority is not None: + self.priority = priority + self.type = type + + @property + def description(self): + """Gets the description of this V1CustomResourceColumnDefinition. # noqa: E501 + + description is a human readable description of this column. # noqa: E501 + + :return: The description of this V1CustomResourceColumnDefinition. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this V1CustomResourceColumnDefinition. + + description is a human readable description of this column. # noqa: E501 + + :param description: The description of this V1CustomResourceColumnDefinition. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def format(self): + """Gets the format of this V1CustomResourceColumnDefinition. # noqa: E501 + + format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. # noqa: E501 + + :return: The format of this V1CustomResourceColumnDefinition. # noqa: E501 + :rtype: str + """ + return self._format + + @format.setter + def format(self, format): + """Sets the format of this V1CustomResourceColumnDefinition. + + format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. # noqa: E501 + + :param format: The format of this V1CustomResourceColumnDefinition. # noqa: E501 + :type: str + """ + + self._format = format + + @property + def json_path(self): + """Gets the json_path of this V1CustomResourceColumnDefinition. # noqa: E501 + + jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. # noqa: E501 + + :return: The json_path of this V1CustomResourceColumnDefinition. # noqa: E501 + :rtype: str + """ + return self._json_path + + @json_path.setter + def json_path(self, json_path): + """Sets the json_path of this V1CustomResourceColumnDefinition. + + jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column. # noqa: E501 + + :param json_path: The json_path of this V1CustomResourceColumnDefinition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and json_path is None: # noqa: E501 + raise ValueError("Invalid value for `json_path`, must not be `None`") # noqa: E501 + + self._json_path = json_path + + @property + def name(self): + """Gets the name of this V1CustomResourceColumnDefinition. # noqa: E501 + + name is a human readable name for the column. # noqa: E501 + + :return: The name of this V1CustomResourceColumnDefinition. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1CustomResourceColumnDefinition. + + name is a human readable name for the column. # noqa: E501 + + :param name: The name of this V1CustomResourceColumnDefinition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def priority(self): + """Gets the priority of this V1CustomResourceColumnDefinition. # noqa: E501 + + priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0. # noqa: E501 + + :return: The priority of this V1CustomResourceColumnDefinition. # noqa: E501 + :rtype: int + """ + return self._priority + + @priority.setter + def priority(self, priority): + """Sets the priority of this V1CustomResourceColumnDefinition. + + priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0. # noqa: E501 + + :param priority: The priority of this V1CustomResourceColumnDefinition. # noqa: E501 + :type: int + """ + + self._priority = priority + + @property + def type(self): + """Gets the type of this V1CustomResourceColumnDefinition. # noqa: E501 + + type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. # noqa: E501 + + :return: The type of this V1CustomResourceColumnDefinition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1CustomResourceColumnDefinition. + + type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details. # noqa: E501 + + :param type: The type of this V1CustomResourceColumnDefinition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceColumnDefinition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceColumnDefinition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_conversion.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_conversion.py new file mode 100644 index 0000000000000000000000000000000000000000..3162a758541a33dbf6d5b60a4442d92433eb0e96 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_conversion.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceConversion(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'strategy': 'str', + 'webhook': 'V1WebhookConversion' + } + + attribute_map = { + 'strategy': 'strategy', + 'webhook': 'webhook' + } + + def __init__(self, strategy=None, webhook=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceConversion - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._strategy = None + self._webhook = None + self.discriminator = None + + self.strategy = strategy + if webhook is not None: + self.webhook = webhook + + @property + def strategy(self): + """Gets the strategy of this V1CustomResourceConversion. # noqa: E501 + + strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set. # noqa: E501 + + :return: The strategy of this V1CustomResourceConversion. # noqa: E501 + :rtype: str + """ + return self._strategy + + @strategy.setter + def strategy(self, strategy): + """Sets the strategy of this V1CustomResourceConversion. + + strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set. # noqa: E501 + + :param strategy: The strategy of this V1CustomResourceConversion. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and strategy is None: # noqa: E501 + raise ValueError("Invalid value for `strategy`, must not be `None`") # noqa: E501 + + self._strategy = strategy + + @property + def webhook(self): + """Gets the webhook of this V1CustomResourceConversion. # noqa: E501 + + + :return: The webhook of this V1CustomResourceConversion. # noqa: E501 + :rtype: V1WebhookConversion + """ + return self._webhook + + @webhook.setter + def webhook(self, webhook): + """Sets the webhook of this V1CustomResourceConversion. + + + :param webhook: The webhook of this V1CustomResourceConversion. # noqa: E501 + :type: V1WebhookConversion + """ + + self._webhook = webhook + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceConversion): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceConversion): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition.py new file mode 100644 index 0000000000000000000000000000000000000000..3bbd0be3d2d0b63bd03f72608a242fa650d16980 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition.py @@ -0,0 +1,229 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceDefinition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1CustomResourceDefinitionSpec', + 'status': 'V1CustomResourceDefinitionStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceDefinition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1CustomResourceDefinition. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CustomResourceDefinition. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CustomResourceDefinition. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CustomResourceDefinition. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1CustomResourceDefinition. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CustomResourceDefinition. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CustomResourceDefinition. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CustomResourceDefinition. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CustomResourceDefinition. # noqa: E501 + + + :return: The metadata of this V1CustomResourceDefinition. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CustomResourceDefinition. + + + :param metadata: The metadata of this V1CustomResourceDefinition. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1CustomResourceDefinition. # noqa: E501 + + + :return: The spec of this V1CustomResourceDefinition. # noqa: E501 + :rtype: V1CustomResourceDefinitionSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1CustomResourceDefinition. + + + :param spec: The spec of this V1CustomResourceDefinition. # noqa: E501 + :type: V1CustomResourceDefinitionSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1CustomResourceDefinition. # noqa: E501 + + + :return: The status of this V1CustomResourceDefinition. # noqa: E501 + :rtype: V1CustomResourceDefinitionStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1CustomResourceDefinition. + + + :param status: The status of this V1CustomResourceDefinition. # noqa: E501 + :type: V1CustomResourceDefinitionStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceDefinition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceDefinition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_condition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_condition.py new file mode 100644 index 0000000000000000000000000000000000000000..205590af493a716f3046585cabb650f1f8f15bfe --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_condition.py @@ -0,0 +1,264 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceDefinitionCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'message': 'str', + 'observed_generation': 'int', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'message': 'message', + 'observed_generation': 'observedGeneration', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, message=None, observed_generation=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceDefinitionCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._message = None + self._observed_generation = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + if last_transition_time is not None: + self.last_transition_time = last_transition_time + if message is not None: + self.message = message + if observed_generation is not None: + self.observed_generation = observed_generation + if reason is not None: + self.reason = reason + self.status = status + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1CustomResourceDefinitionCondition. # noqa: E501 + + lastTransitionTime last time the condition transitioned from one status to another. # noqa: E501 + + :return: The last_transition_time of this V1CustomResourceDefinitionCondition. # noqa: E501 + :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 V1CustomResourceDefinitionCondition. + + lastTransitionTime last time the condition transitioned from one status to another. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1CustomResourceDefinitionCondition. # noqa: E501 + :type: datetime + """ + + self._last_transition_time = last_transition_time + + @property + def message(self): + """Gets the message of this V1CustomResourceDefinitionCondition. # noqa: E501 + + message is a human-readable message indicating details about last transition. # noqa: E501 + + :return: The message of this V1CustomResourceDefinitionCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1CustomResourceDefinitionCondition. + + message is a human-readable message indicating details about last transition. # noqa: E501 + + :param message: The message of this V1CustomResourceDefinitionCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def observed_generation(self): + """Gets the observed_generation of this V1CustomResourceDefinitionCondition. # noqa: E501 + + observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. # noqa: E501 + + :return: The observed_generation of this V1CustomResourceDefinitionCondition. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1CustomResourceDefinitionCondition. + + observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. # noqa: E501 + + :param observed_generation: The observed_generation of this V1CustomResourceDefinitionCondition. # noqa: E501 + :type: int + """ + + self._observed_generation = observed_generation + + @property + def reason(self): + """Gets the reason of this V1CustomResourceDefinitionCondition. # noqa: E501 + + reason is a unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :return: The reason of this V1CustomResourceDefinitionCondition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1CustomResourceDefinitionCondition. + + reason is a unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :param reason: The reason of this V1CustomResourceDefinitionCondition. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1CustomResourceDefinitionCondition. # noqa: E501 + + status is the status of the condition. Can be True, False, Unknown. # noqa: E501 + + :return: The status of this V1CustomResourceDefinitionCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1CustomResourceDefinitionCondition. + + status is the status of the condition. Can be True, False, Unknown. # noqa: E501 + + :param status: The status of this V1CustomResourceDefinitionCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def type(self): + """Gets the type of this V1CustomResourceDefinitionCondition. # noqa: E501 + + type is the type of the condition. Types include Established, NamesAccepted and Terminating. # noqa: E501 + + :return: The type of this V1CustomResourceDefinitionCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1CustomResourceDefinitionCondition. + + type is the type of the condition. Types include Established, NamesAccepted and Terminating. # noqa: E501 + + :param type: The type of this V1CustomResourceDefinitionCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceDefinitionCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceDefinitionCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_list.py new file mode 100644 index 0000000000000000000000000000000000000000..681cbde804281ca00f3b56462620a16502a6a8eb --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceDefinitionList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1CustomResourceDefinition]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceDefinitionList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1CustomResourceDefinitionList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CustomResourceDefinitionList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CustomResourceDefinitionList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CustomResourceDefinitionList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1CustomResourceDefinitionList. # noqa: E501 + + items list individual CustomResourceDefinition objects # noqa: E501 + + :return: The items of this V1CustomResourceDefinitionList. # noqa: E501 + :rtype: list[V1CustomResourceDefinition] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1CustomResourceDefinitionList. + + items list individual CustomResourceDefinition objects # noqa: E501 + + :param items: The items of this V1CustomResourceDefinitionList. # noqa: E501 + :type: list[V1CustomResourceDefinition] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1CustomResourceDefinitionList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CustomResourceDefinitionList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CustomResourceDefinitionList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CustomResourceDefinitionList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CustomResourceDefinitionList. # noqa: E501 + + + :return: The metadata of this V1CustomResourceDefinitionList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CustomResourceDefinitionList. + + + :param metadata: The metadata of this V1CustomResourceDefinitionList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceDefinitionList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceDefinitionList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_names.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_names.py new file mode 100644 index 0000000000000000000000000000000000000000..15f5b0f84d326fbe96b3a3e61755ee28890bc1c8 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_names.py @@ -0,0 +1,264 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceDefinitionNames(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'categories': 'list[str]', + 'kind': 'str', + 'list_kind': 'str', + 'plural': 'str', + 'short_names': 'list[str]', + 'singular': 'str' + } + + attribute_map = { + 'categories': 'categories', + 'kind': 'kind', + 'list_kind': 'listKind', + 'plural': 'plural', + 'short_names': 'shortNames', + 'singular': 'singular' + } + + def __init__(self, categories=None, kind=None, list_kind=None, plural=None, short_names=None, singular=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceDefinitionNames - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._categories = None + self._kind = None + self._list_kind = None + self._plural = None + self._short_names = None + self._singular = None + self.discriminator = None + + if categories is not None: + self.categories = categories + self.kind = kind + if list_kind is not None: + self.list_kind = list_kind + self.plural = plural + if short_names is not None: + self.short_names = short_names + if singular is not None: + self.singular = singular + + @property + def categories(self): + """Gets the categories of this V1CustomResourceDefinitionNames. # noqa: E501 + + categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`. # noqa: E501 + + :return: The categories of this V1CustomResourceDefinitionNames. # noqa: E501 + :rtype: list[str] + """ + return self._categories + + @categories.setter + def categories(self, categories): + """Sets the categories of this V1CustomResourceDefinitionNames. + + categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`. # noqa: E501 + + :param categories: The categories of this V1CustomResourceDefinitionNames. # noqa: E501 + :type: list[str] + """ + + self._categories = categories + + @property + def kind(self): + """Gets the kind of this V1CustomResourceDefinitionNames. # noqa: E501 + + kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. # noqa: E501 + + :return: The kind of this V1CustomResourceDefinitionNames. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CustomResourceDefinitionNames. + + kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls. # noqa: E501 + + :param kind: The kind of this V1CustomResourceDefinitionNames. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 + raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 + + self._kind = kind + + @property + def list_kind(self): + """Gets the list_kind of this V1CustomResourceDefinitionNames. # noqa: E501 + + listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\". # noqa: E501 + + :return: The list_kind of this V1CustomResourceDefinitionNames. # noqa: E501 + :rtype: str + """ + return self._list_kind + + @list_kind.setter + def list_kind(self, list_kind): + """Sets the list_kind of this V1CustomResourceDefinitionNames. + + listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\". # noqa: E501 + + :param list_kind: The list_kind of this V1CustomResourceDefinitionNames. # noqa: E501 + :type: str + """ + + self._list_kind = list_kind + + @property + def plural(self): + """Gets the plural of this V1CustomResourceDefinitionNames. # noqa: E501 + + plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase. # noqa: E501 + + :return: The plural of this V1CustomResourceDefinitionNames. # noqa: E501 + :rtype: str + """ + return self._plural + + @plural.setter + def plural(self, plural): + """Sets the plural of this V1CustomResourceDefinitionNames. + + plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase. # noqa: E501 + + :param plural: The plural of this V1CustomResourceDefinitionNames. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and plural is None: # noqa: E501 + raise ValueError("Invalid value for `plural`, must not be `None`") # noqa: E501 + + self._plural = plural + + @property + def short_names(self): + """Gets the short_names of this V1CustomResourceDefinitionNames. # noqa: E501 + + shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase. # noqa: E501 + + :return: The short_names of this V1CustomResourceDefinitionNames. # noqa: E501 + :rtype: list[str] + """ + return self._short_names + + @short_names.setter + def short_names(self, short_names): + """Sets the short_names of this V1CustomResourceDefinitionNames. + + shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase. # noqa: E501 + + :param short_names: The short_names of this V1CustomResourceDefinitionNames. # noqa: E501 + :type: list[str] + """ + + self._short_names = short_names + + @property + def singular(self): + """Gets the singular of this V1CustomResourceDefinitionNames. # noqa: E501 + + singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. # noqa: E501 + + :return: The singular of this V1CustomResourceDefinitionNames. # noqa: E501 + :rtype: str + """ + return self._singular + + @singular.setter + def singular(self, singular): + """Sets the singular of this V1CustomResourceDefinitionNames. + + singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`. # noqa: E501 + + :param singular: The singular of this V1CustomResourceDefinitionNames. # noqa: E501 + :type: str + """ + + self._singular = singular + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceDefinitionNames): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceDefinitionNames): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..3f902e04751ce90750e009d6aa5a2df95a4dd252 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_spec.py @@ -0,0 +1,262 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceDefinitionSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'conversion': 'V1CustomResourceConversion', + 'group': 'str', + 'names': 'V1CustomResourceDefinitionNames', + 'preserve_unknown_fields': 'bool', + 'scope': 'str', + 'versions': 'list[V1CustomResourceDefinitionVersion]' + } + + attribute_map = { + 'conversion': 'conversion', + 'group': 'group', + 'names': 'names', + 'preserve_unknown_fields': 'preserveUnknownFields', + 'scope': 'scope', + 'versions': 'versions' + } + + def __init__(self, conversion=None, group=None, names=None, preserve_unknown_fields=None, scope=None, versions=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceDefinitionSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._conversion = None + self._group = None + self._names = None + self._preserve_unknown_fields = None + self._scope = None + self._versions = None + self.discriminator = None + + if conversion is not None: + self.conversion = conversion + self.group = group + self.names = names + if preserve_unknown_fields is not None: + self.preserve_unknown_fields = preserve_unknown_fields + self.scope = scope + self.versions = versions + + @property + def conversion(self): + """Gets the conversion of this V1CustomResourceDefinitionSpec. # noqa: E501 + + + :return: The conversion of this V1CustomResourceDefinitionSpec. # noqa: E501 + :rtype: V1CustomResourceConversion + """ + return self._conversion + + @conversion.setter + def conversion(self, conversion): + """Sets the conversion of this V1CustomResourceDefinitionSpec. + + + :param conversion: The conversion of this V1CustomResourceDefinitionSpec. # noqa: E501 + :type: V1CustomResourceConversion + """ + + self._conversion = conversion + + @property + def group(self): + """Gets the group of this V1CustomResourceDefinitionSpec. # noqa: E501 + + group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`). # noqa: E501 + + :return: The group of this V1CustomResourceDefinitionSpec. # noqa: E501 + :rtype: str + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this V1CustomResourceDefinitionSpec. + + group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`). # noqa: E501 + + :param group: The group of this V1CustomResourceDefinitionSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and group is None: # noqa: E501 + raise ValueError("Invalid value for `group`, must not be `None`") # noqa: E501 + + self._group = group + + @property + def names(self): + """Gets the names of this V1CustomResourceDefinitionSpec. # noqa: E501 + + + :return: The names of this V1CustomResourceDefinitionSpec. # noqa: E501 + :rtype: V1CustomResourceDefinitionNames + """ + return self._names + + @names.setter + def names(self, names): + """Sets the names of this V1CustomResourceDefinitionSpec. + + + :param names: The names of this V1CustomResourceDefinitionSpec. # noqa: E501 + :type: V1CustomResourceDefinitionNames + """ + if self.local_vars_configuration.client_side_validation and names is None: # noqa: E501 + raise ValueError("Invalid value for `names`, must not be `None`") # noqa: E501 + + self._names = names + + @property + def preserve_unknown_fields(self): + """Gets the preserve_unknown_fields of this V1CustomResourceDefinitionSpec. # noqa: E501 + + preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details. # noqa: E501 + + :return: The preserve_unknown_fields of this V1CustomResourceDefinitionSpec. # noqa: E501 + :rtype: bool + """ + return self._preserve_unknown_fields + + @preserve_unknown_fields.setter + def preserve_unknown_fields(self, preserve_unknown_fields): + """Sets the preserve_unknown_fields of this V1CustomResourceDefinitionSpec. + + preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details. # noqa: E501 + + :param preserve_unknown_fields: The preserve_unknown_fields of this V1CustomResourceDefinitionSpec. # noqa: E501 + :type: bool + """ + + self._preserve_unknown_fields = preserve_unknown_fields + + @property + def scope(self): + """Gets the scope of this V1CustomResourceDefinitionSpec. # noqa: E501 + + scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. # noqa: E501 + + :return: The scope of this V1CustomResourceDefinitionSpec. # noqa: E501 + :rtype: str + """ + return self._scope + + @scope.setter + def scope(self, scope): + """Sets the scope of this V1CustomResourceDefinitionSpec. + + scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. # noqa: E501 + + :param scope: The scope of this V1CustomResourceDefinitionSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and scope is None: # noqa: E501 + raise ValueError("Invalid value for `scope`, must not be `None`") # noqa: E501 + + self._scope = scope + + @property + def versions(self): + """Gets the versions of this V1CustomResourceDefinitionSpec. # noqa: E501 + + versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. # noqa: E501 + + :return: The versions of this V1CustomResourceDefinitionSpec. # noqa: E501 + :rtype: list[V1CustomResourceDefinitionVersion] + """ + return self._versions + + @versions.setter + def versions(self, versions): + """Sets the versions of this V1CustomResourceDefinitionSpec. + + versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. # noqa: E501 + + :param versions: The versions of this V1CustomResourceDefinitionSpec. # noqa: E501 + :type: list[V1CustomResourceDefinitionVersion] + """ + if self.local_vars_configuration.client_side_validation and versions is None: # noqa: E501 + raise ValueError("Invalid value for `versions`, must not be `None`") # noqa: E501 + + self._versions = versions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceDefinitionSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceDefinitionSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_status.py new file mode 100644 index 0000000000000000000000000000000000000000..50e6f4a4c86127045a83632580d067b25e973449 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_status.py @@ -0,0 +1,204 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceDefinitionStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'accepted_names': 'V1CustomResourceDefinitionNames', + 'conditions': 'list[V1CustomResourceDefinitionCondition]', + 'observed_generation': 'int', + 'stored_versions': 'list[str]' + } + + attribute_map = { + 'accepted_names': 'acceptedNames', + 'conditions': 'conditions', + 'observed_generation': 'observedGeneration', + 'stored_versions': 'storedVersions' + } + + def __init__(self, accepted_names=None, conditions=None, observed_generation=None, stored_versions=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceDefinitionStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._accepted_names = None + self._conditions = None + self._observed_generation = None + self._stored_versions = None + self.discriminator = None + + if accepted_names is not None: + self.accepted_names = accepted_names + if conditions is not None: + self.conditions = conditions + if observed_generation is not None: + self.observed_generation = observed_generation + if stored_versions is not None: + self.stored_versions = stored_versions + + @property + def accepted_names(self): + """Gets the accepted_names of this V1CustomResourceDefinitionStatus. # noqa: E501 + + + :return: The accepted_names of this V1CustomResourceDefinitionStatus. # noqa: E501 + :rtype: V1CustomResourceDefinitionNames + """ + return self._accepted_names + + @accepted_names.setter + def accepted_names(self, accepted_names): + """Sets the accepted_names of this V1CustomResourceDefinitionStatus. + + + :param accepted_names: The accepted_names of this V1CustomResourceDefinitionStatus. # noqa: E501 + :type: V1CustomResourceDefinitionNames + """ + + self._accepted_names = accepted_names + + @property + def conditions(self): + """Gets the conditions of this V1CustomResourceDefinitionStatus. # noqa: E501 + + conditions indicate state for particular aspects of a CustomResourceDefinition # noqa: E501 + + :return: The conditions of this V1CustomResourceDefinitionStatus. # noqa: E501 + :rtype: list[V1CustomResourceDefinitionCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1CustomResourceDefinitionStatus. + + conditions indicate state for particular aspects of a CustomResourceDefinition # noqa: E501 + + :param conditions: The conditions of this V1CustomResourceDefinitionStatus. # noqa: E501 + :type: list[V1CustomResourceDefinitionCondition] + """ + + self._conditions = conditions + + @property + def observed_generation(self): + """Gets the observed_generation of this V1CustomResourceDefinitionStatus. # noqa: E501 + + The generation observed by the CRD controller. # noqa: E501 + + :return: The observed_generation of this V1CustomResourceDefinitionStatus. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1CustomResourceDefinitionStatus. + + The generation observed by the CRD controller. # noqa: E501 + + :param observed_generation: The observed_generation of this V1CustomResourceDefinitionStatus. # noqa: E501 + :type: int + """ + + self._observed_generation = observed_generation + + @property + def stored_versions(self): + """Gets the stored_versions of this V1CustomResourceDefinitionStatus. # noqa: E501 + + storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list. # noqa: E501 + + :return: The stored_versions of this V1CustomResourceDefinitionStatus. # noqa: E501 + :rtype: list[str] + """ + return self._stored_versions + + @stored_versions.setter + def stored_versions(self, stored_versions): + """Sets the stored_versions of this V1CustomResourceDefinitionStatus. + + storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list. # noqa: E501 + + :param stored_versions: The stored_versions of this V1CustomResourceDefinitionStatus. # noqa: E501 + :type: list[str] + """ + + self._stored_versions = stored_versions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceDefinitionStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceDefinitionStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_version.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_version.py new file mode 100644 index 0000000000000000000000000000000000000000..92e2fbdfa4181a7314d02dbd20a5d738d5014abe --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_definition_version.py @@ -0,0 +1,345 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceDefinitionVersion(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'additional_printer_columns': 'list[V1CustomResourceColumnDefinition]', + 'deprecated': 'bool', + 'deprecation_warning': 'str', + 'name': 'str', + 'schema': 'V1CustomResourceValidation', + 'selectable_fields': 'list[V1SelectableField]', + 'served': 'bool', + 'storage': 'bool', + 'subresources': 'V1CustomResourceSubresources' + } + + attribute_map = { + 'additional_printer_columns': 'additionalPrinterColumns', + 'deprecated': 'deprecated', + 'deprecation_warning': 'deprecationWarning', + 'name': 'name', + 'schema': 'schema', + 'selectable_fields': 'selectableFields', + 'served': 'served', + 'storage': 'storage', + 'subresources': 'subresources' + } + + def __init__(self, additional_printer_columns=None, deprecated=None, deprecation_warning=None, name=None, schema=None, selectable_fields=None, served=None, storage=None, subresources=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceDefinitionVersion - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._additional_printer_columns = None + self._deprecated = None + self._deprecation_warning = None + self._name = None + self._schema = None + self._selectable_fields = None + self._served = None + self._storage = None + self._subresources = None + self.discriminator = None + + if additional_printer_columns is not None: + self.additional_printer_columns = additional_printer_columns + if deprecated is not None: + self.deprecated = deprecated + if deprecation_warning is not None: + self.deprecation_warning = deprecation_warning + self.name = name + if schema is not None: + self.schema = schema + if selectable_fields is not None: + self.selectable_fields = selectable_fields + self.served = served + self.storage = storage + if subresources is not None: + self.subresources = subresources + + @property + def additional_printer_columns(self): + """Gets the additional_printer_columns of this V1CustomResourceDefinitionVersion. # noqa: E501 + + additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used. # noqa: E501 + + :return: The additional_printer_columns of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: list[V1CustomResourceColumnDefinition] + """ + return self._additional_printer_columns + + @additional_printer_columns.setter + def additional_printer_columns(self, additional_printer_columns): + """Sets the additional_printer_columns of this V1CustomResourceDefinitionVersion. + + additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used. # noqa: E501 + + :param additional_printer_columns: The additional_printer_columns of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: list[V1CustomResourceColumnDefinition] + """ + + self._additional_printer_columns = additional_printer_columns + + @property + def deprecated(self): + """Gets the deprecated of this V1CustomResourceDefinitionVersion. # noqa: E501 + + deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false. # noqa: E501 + + :return: The deprecated of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: bool + """ + return self._deprecated + + @deprecated.setter + def deprecated(self, deprecated): + """Sets the deprecated of this V1CustomResourceDefinitionVersion. + + deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false. # noqa: E501 + + :param deprecated: The deprecated of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: bool + """ + + self._deprecated = deprecated + + @property + def deprecation_warning(self): + """Gets the deprecation_warning of this V1CustomResourceDefinitionVersion. # noqa: E501 + + deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists. # noqa: E501 + + :return: The deprecation_warning of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: str + """ + return self._deprecation_warning + + @deprecation_warning.setter + def deprecation_warning(self, deprecation_warning): + """Sets the deprecation_warning of this V1CustomResourceDefinitionVersion. + + deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists. # noqa: E501 + + :param deprecation_warning: The deprecation_warning of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: str + """ + + self._deprecation_warning = deprecation_warning + + @property + def name(self): + """Gets the name of this V1CustomResourceDefinitionVersion. # noqa: E501 + + name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true. # noqa: E501 + + :return: The name of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1CustomResourceDefinitionVersion. + + name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at `/apis///...` if `served` is true. # noqa: E501 + + :param name: The name of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def schema(self): + """Gets the schema of this V1CustomResourceDefinitionVersion. # noqa: E501 + + + :return: The schema of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: V1CustomResourceValidation + """ + return self._schema + + @schema.setter + def schema(self, schema): + """Sets the schema of this V1CustomResourceDefinitionVersion. + + + :param schema: The schema of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: V1CustomResourceValidation + """ + + self._schema = schema + + @property + def selectable_fields(self): + """Gets the selectable_fields of this V1CustomResourceDefinitionVersion. # noqa: E501 + + selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors # noqa: E501 + + :return: The selectable_fields of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: list[V1SelectableField] + """ + return self._selectable_fields + + @selectable_fields.setter + def selectable_fields(self, selectable_fields): + """Sets the selectable_fields of this V1CustomResourceDefinitionVersion. + + selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors # noqa: E501 + + :param selectable_fields: The selectable_fields of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: list[V1SelectableField] + """ + + self._selectable_fields = selectable_fields + + @property + def served(self): + """Gets the served of this V1CustomResourceDefinitionVersion. # noqa: E501 + + served is a flag enabling/disabling this version from being served via REST APIs # noqa: E501 + + :return: The served of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: bool + """ + return self._served + + @served.setter + def served(self, served): + """Sets the served of this V1CustomResourceDefinitionVersion. + + served is a flag enabling/disabling this version from being served via REST APIs # noqa: E501 + + :param served: The served of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: bool + """ + if self.local_vars_configuration.client_side_validation and served is None: # noqa: E501 + raise ValueError("Invalid value for `served`, must not be `None`") # noqa: E501 + + self._served = served + + @property + def storage(self): + """Gets the storage of this V1CustomResourceDefinitionVersion. # noqa: E501 + + storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. # noqa: E501 + + :return: The storage of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: bool + """ + return self._storage + + @storage.setter + def storage(self, storage): + """Sets the storage of this V1CustomResourceDefinitionVersion. + + storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true. # noqa: E501 + + :param storage: The storage of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: bool + """ + if self.local_vars_configuration.client_side_validation and storage is None: # noqa: E501 + raise ValueError("Invalid value for `storage`, must not be `None`") # noqa: E501 + + self._storage = storage + + @property + def subresources(self): + """Gets the subresources of this V1CustomResourceDefinitionVersion. # noqa: E501 + + + :return: The subresources of this V1CustomResourceDefinitionVersion. # noqa: E501 + :rtype: V1CustomResourceSubresources + """ + return self._subresources + + @subresources.setter + def subresources(self, subresources): + """Sets the subresources of this V1CustomResourceDefinitionVersion. + + + :param subresources: The subresources of this V1CustomResourceDefinitionVersion. # noqa: E501 + :type: V1CustomResourceSubresources + """ + + self._subresources = subresources + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceDefinitionVersion): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceDefinitionVersion): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_subresource_scale.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_subresource_scale.py new file mode 100644 index 0000000000000000000000000000000000000000..36a2a922bf5092d467ca0d9d1243a538cc1a4c51 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_subresource_scale.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceSubresourceScale(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'label_selector_path': 'str', + 'spec_replicas_path': 'str', + 'status_replicas_path': 'str' + } + + attribute_map = { + 'label_selector_path': 'labelSelectorPath', + 'spec_replicas_path': 'specReplicasPath', + 'status_replicas_path': 'statusReplicasPath' + } + + def __init__(self, label_selector_path=None, spec_replicas_path=None, status_replicas_path=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceSubresourceScale - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._label_selector_path = None + self._spec_replicas_path = None + self._status_replicas_path = None + self.discriminator = None + + if label_selector_path is not None: + self.label_selector_path = label_selector_path + self.spec_replicas_path = spec_replicas_path + self.status_replicas_path = status_replicas_path + + @property + def label_selector_path(self): + """Gets the label_selector_path of this V1CustomResourceSubresourceScale. # noqa: E501 + + labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. # noqa: E501 + + :return: The label_selector_path of this V1CustomResourceSubresourceScale. # noqa: E501 + :rtype: str + """ + return self._label_selector_path + + @label_selector_path.setter + def label_selector_path(self, label_selector_path): + """Sets the label_selector_path of this V1CustomResourceSubresourceScale. + + labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string. # noqa: E501 + + :param label_selector_path: The label_selector_path of this V1CustomResourceSubresourceScale. # noqa: E501 + :type: str + """ + + self._label_selector_path = label_selector_path + + @property + def spec_replicas_path(self): + """Gets the spec_replicas_path of this V1CustomResourceSubresourceScale. # noqa: E501 + + specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. # noqa: E501 + + :return: The spec_replicas_path of this V1CustomResourceSubresourceScale. # noqa: E501 + :rtype: str + """ + return self._spec_replicas_path + + @spec_replicas_path.setter + def spec_replicas_path(self, spec_replicas_path): + """Sets the spec_replicas_path of this V1CustomResourceSubresourceScale. + + specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET. # noqa: E501 + + :param spec_replicas_path: The spec_replicas_path of this V1CustomResourceSubresourceScale. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and spec_replicas_path is None: # noqa: E501 + raise ValueError("Invalid value for `spec_replicas_path`, must not be `None`") # noqa: E501 + + self._spec_replicas_path = spec_replicas_path + + @property + def status_replicas_path(self): + """Gets the status_replicas_path of this V1CustomResourceSubresourceScale. # noqa: E501 + + statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0. # noqa: E501 + + :return: The status_replicas_path of this V1CustomResourceSubresourceScale. # noqa: E501 + :rtype: str + """ + return self._status_replicas_path + + @status_replicas_path.setter + def status_replicas_path(self, status_replicas_path): + """Sets the status_replicas_path of this V1CustomResourceSubresourceScale. + + statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0. # noqa: E501 + + :param status_replicas_path: The status_replicas_path of this V1CustomResourceSubresourceScale. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status_replicas_path is None: # noqa: E501 + raise ValueError("Invalid value for `status_replicas_path`, must not be `None`") # noqa: E501 + + self._status_replicas_path = status_replicas_path + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceSubresourceScale): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceSubresourceScale): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_subresources.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_subresources.py new file mode 100644 index 0000000000000000000000000000000000000000..6942bd02d58831550756d15f4ed63ee2608059c5 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_subresources.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceSubresources(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'scale': 'V1CustomResourceSubresourceScale', + 'status': 'object' + } + + attribute_map = { + 'scale': 'scale', + 'status': 'status' + } + + def __init__(self, scale=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceSubresources - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._scale = None + self._status = None + self.discriminator = None + + if scale is not None: + self.scale = scale + if status is not None: + self.status = status + + @property + def scale(self): + """Gets the scale of this V1CustomResourceSubresources. # noqa: E501 + + + :return: The scale of this V1CustomResourceSubresources. # noqa: E501 + :rtype: V1CustomResourceSubresourceScale + """ + return self._scale + + @scale.setter + def scale(self, scale): + """Sets the scale of this V1CustomResourceSubresources. + + + :param scale: The scale of this V1CustomResourceSubresources. # noqa: E501 + :type: V1CustomResourceSubresourceScale + """ + + self._scale = scale + + @property + def status(self): + """Gets the status of this V1CustomResourceSubresources. # noqa: E501 + + status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object. # noqa: E501 + + :return: The status of this V1CustomResourceSubresources. # noqa: E501 + :rtype: object + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1CustomResourceSubresources. + + status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object. # noqa: E501 + + :param status: The status of this V1CustomResourceSubresources. # noqa: E501 + :type: object + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceSubresources): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceSubresources): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_validation.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_validation.py new file mode 100644 index 0000000000000000000000000000000000000000..19f1ab30295915e400e7c117358c7b8d76b2c06b --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_custom_resource_validation.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CustomResourceValidation(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'open_apiv3_schema': 'V1JSONSchemaProps' + } + + attribute_map = { + 'open_apiv3_schema': 'openAPIV3Schema' + } + + def __init__(self, open_apiv3_schema=None, local_vars_configuration=None): # noqa: E501 + """V1CustomResourceValidation - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._open_apiv3_schema = None + self.discriminator = None + + if open_apiv3_schema is not None: + self.open_apiv3_schema = open_apiv3_schema + + @property + def open_apiv3_schema(self): + """Gets the open_apiv3_schema of this V1CustomResourceValidation. # noqa: E501 + + + :return: The open_apiv3_schema of this V1CustomResourceValidation. # noqa: E501 + :rtype: V1JSONSchemaProps + """ + return self._open_apiv3_schema + + @open_apiv3_schema.setter + def open_apiv3_schema(self, open_apiv3_schema): + """Sets the open_apiv3_schema of this V1CustomResourceValidation. + + + :param open_apiv3_schema: The open_apiv3_schema of this V1CustomResourceValidation. # noqa: E501 + :type: V1JSONSchemaProps + """ + + self._open_apiv3_schema = open_apiv3_schema + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1CustomResourceValidation): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CustomResourceValidation): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_endpoint.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_endpoint.py new file mode 100644 index 0000000000000000000000000000000000000000..e2a622474f078bbbea0f32cb19bddbdcac7fcb17 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_endpoint.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DaemonEndpoint(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'port': 'int' + } + + attribute_map = { + 'port': 'Port' + } + + def __init__(self, port=None, local_vars_configuration=None): # noqa: E501 + """V1DaemonEndpoint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._port = None + self.discriminator = None + + self.port = port + + @property + def port(self): + """Gets the port of this V1DaemonEndpoint. # noqa: E501 + + Port number of the given endpoint. # noqa: E501 + + :return: The port of this V1DaemonEndpoint. # noqa: E501 + :rtype: int + """ + return self._port + + @port.setter + def port(self, port): + """Sets the port of this V1DaemonEndpoint. + + Port number of the given endpoint. # noqa: E501 + + :param port: The port of this V1DaemonEndpoint. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and port is None: # noqa: E501 + raise ValueError("Invalid value for `port`, must not be `None`") # noqa: E501 + + self._port = port + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DaemonEndpoint): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DaemonEndpoint): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set.py new file mode 100644 index 0000000000000000000000000000000000000000..c5b48e990a50440c0e626ac48cc97d4cf330a6cc --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DaemonSet(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1DaemonSetSpec', + 'status': 'V1DaemonSetStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1DaemonSet - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1DaemonSet. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1DaemonSet. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1DaemonSet. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1DaemonSet. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1DaemonSet. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1DaemonSet. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1DaemonSet. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1DaemonSet. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1DaemonSet. # noqa: E501 + + + :return: The metadata of this V1DaemonSet. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1DaemonSet. + + + :param metadata: The metadata of this V1DaemonSet. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1DaemonSet. # noqa: E501 + + + :return: The spec of this V1DaemonSet. # noqa: E501 + :rtype: V1DaemonSetSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1DaemonSet. + + + :param spec: The spec of this V1DaemonSet. # noqa: E501 + :type: V1DaemonSetSpec + """ + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1DaemonSet. # noqa: E501 + + + :return: The status of this V1DaemonSet. # noqa: E501 + :rtype: V1DaemonSetStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1DaemonSet. + + + :param status: The status of this V1DaemonSet. # noqa: E501 + :type: V1DaemonSetStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DaemonSet): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DaemonSet): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_condition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_condition.py new file mode 100644 index 0000000000000000000000000000000000000000..ca654c685ae79ee27c8f4b56a74405aaaf9ed01d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_condition.py @@ -0,0 +1,236 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DaemonSetCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'message': 'str', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'message': 'message', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1DaemonSetCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._message = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + if last_transition_time is not None: + self.last_transition_time = last_transition_time + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + self.status = status + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1DaemonSetCondition. # noqa: E501 + + Last time the condition transitioned from one status to another. # noqa: E501 + + :return: The last_transition_time of this V1DaemonSetCondition. # noqa: E501 + :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 V1DaemonSetCondition. + + Last time the condition transitioned from one status to another. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1DaemonSetCondition. # noqa: E501 + :type: datetime + """ + + self._last_transition_time = last_transition_time + + @property + def message(self): + """Gets the message of this V1DaemonSetCondition. # noqa: E501 + + A human readable message indicating details about the transition. # noqa: E501 + + :return: The message of this V1DaemonSetCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1DaemonSetCondition. + + A human readable message indicating details about the transition. # noqa: E501 + + :param message: The message of this V1DaemonSetCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1DaemonSetCondition. # noqa: E501 + + The reason for the condition's last transition. # noqa: E501 + + :return: The reason of this V1DaemonSetCondition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1DaemonSetCondition. + + The reason for the condition's last transition. # noqa: E501 + + :param reason: The reason of this V1DaemonSetCondition. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1DaemonSetCondition. # noqa: E501 + + Status of the condition, one of True, False, Unknown. # noqa: E501 + + :return: The status of this V1DaemonSetCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1DaemonSetCondition. + + Status of the condition, one of True, False, Unknown. # noqa: E501 + + :param status: The status of this V1DaemonSetCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def type(self): + """Gets the type of this V1DaemonSetCondition. # noqa: E501 + + Type of DaemonSet condition. # noqa: E501 + + :return: The type of this V1DaemonSetCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1DaemonSetCondition. + + Type of DaemonSet condition. # noqa: E501 + + :param type: The type of this V1DaemonSetCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DaemonSetCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DaemonSetCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_list.py new file mode 100644 index 0000000000000000000000000000000000000000..bf5ded011cac46ffe38fdd00511ace821ace4879 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DaemonSetList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1DaemonSet]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1DaemonSetList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1DaemonSetList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1DaemonSetList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1DaemonSetList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1DaemonSetList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1DaemonSetList. # noqa: E501 + + A list of daemon sets. # noqa: E501 + + :return: The items of this V1DaemonSetList. # noqa: E501 + :rtype: list[V1DaemonSet] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1DaemonSetList. + + A list of daemon sets. # noqa: E501 + + :param items: The items of this V1DaemonSetList. # noqa: E501 + :type: list[V1DaemonSet] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1DaemonSetList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1DaemonSetList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1DaemonSetList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1DaemonSetList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1DaemonSetList. # noqa: E501 + + + :return: The metadata of this V1DaemonSetList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1DaemonSetList. + + + :param metadata: The metadata of this V1DaemonSetList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DaemonSetList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DaemonSetList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..5e430014628f7cab5e29a661f3934288c5525141 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_spec.py @@ -0,0 +1,230 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DaemonSetSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'min_ready_seconds': 'int', + 'revision_history_limit': 'int', + 'selector': 'V1LabelSelector', + 'template': 'V1PodTemplateSpec', + 'update_strategy': 'V1DaemonSetUpdateStrategy' + } + + attribute_map = { + 'min_ready_seconds': 'minReadySeconds', + 'revision_history_limit': 'revisionHistoryLimit', + 'selector': 'selector', + 'template': 'template', + 'update_strategy': 'updateStrategy' + } + + def __init__(self, min_ready_seconds=None, revision_history_limit=None, selector=None, template=None, update_strategy=None, local_vars_configuration=None): # noqa: E501 + """V1DaemonSetSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._min_ready_seconds = None + self._revision_history_limit = None + self._selector = None + self._template = None + self._update_strategy = None + self.discriminator = None + + if min_ready_seconds is not None: + self.min_ready_seconds = min_ready_seconds + if revision_history_limit is not None: + self.revision_history_limit = revision_history_limit + self.selector = selector + self.template = template + if update_strategy is not None: + self.update_strategy = update_strategy + + @property + def min_ready_seconds(self): + """Gets the min_ready_seconds of this V1DaemonSetSpec. # noqa: E501 + + The minimum number of seconds for which a newly created DaemonSet 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). # noqa: E501 + + :return: The min_ready_seconds of this V1DaemonSetSpec. # noqa: E501 + :rtype: int + """ + return self._min_ready_seconds + + @min_ready_seconds.setter + def min_ready_seconds(self, min_ready_seconds): + """Sets the min_ready_seconds of this V1DaemonSetSpec. + + The minimum number of seconds for which a newly created DaemonSet 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). # noqa: E501 + + :param min_ready_seconds: The min_ready_seconds of this V1DaemonSetSpec. # noqa: E501 + :type: int + """ + + self._min_ready_seconds = min_ready_seconds + + @property + def revision_history_limit(self): + """Gets the revision_history_limit of this V1DaemonSetSpec. # noqa: E501 + + The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. # noqa: E501 + + :return: The revision_history_limit of this V1DaemonSetSpec. # noqa: E501 + :rtype: int + """ + return self._revision_history_limit + + @revision_history_limit.setter + def revision_history_limit(self, revision_history_limit): + """Sets the revision_history_limit of this V1DaemonSetSpec. + + The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. # noqa: E501 + + :param revision_history_limit: The revision_history_limit of this V1DaemonSetSpec. # noqa: E501 + :type: int + """ + + self._revision_history_limit = revision_history_limit + + @property + def selector(self): + """Gets the selector of this V1DaemonSetSpec. # noqa: E501 + + + :return: The selector of this V1DaemonSetSpec. # noqa: E501 + :rtype: V1LabelSelector + """ + return self._selector + + @selector.setter + def selector(self, selector): + """Sets the selector of this V1DaemonSetSpec. + + + :param selector: The selector of this V1DaemonSetSpec. # noqa: E501 + :type: V1LabelSelector + """ + if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501 + raise ValueError("Invalid value for `selector`, must not be `None`") # noqa: E501 + + self._selector = selector + + @property + def template(self): + """Gets the template of this V1DaemonSetSpec. # noqa: E501 + + + :return: The template of this V1DaemonSetSpec. # noqa: E501 + :rtype: V1PodTemplateSpec + """ + return self._template + + @template.setter + def template(self, template): + """Sets the template of this V1DaemonSetSpec. + + + :param template: The template of this V1DaemonSetSpec. # noqa: E501 + :type: V1PodTemplateSpec + """ + if self.local_vars_configuration.client_side_validation and template is None: # noqa: E501 + raise ValueError("Invalid value for `template`, must not be `None`") # noqa: E501 + + self._template = template + + @property + def update_strategy(self): + """Gets the update_strategy of this V1DaemonSetSpec. # noqa: E501 + + + :return: The update_strategy of this V1DaemonSetSpec. # noqa: E501 + :rtype: V1DaemonSetUpdateStrategy + """ + return self._update_strategy + + @update_strategy.setter + def update_strategy(self, update_strategy): + """Sets the update_strategy of this V1DaemonSetSpec. + + + :param update_strategy: The update_strategy of this V1DaemonSetSpec. # noqa: E501 + :type: V1DaemonSetUpdateStrategy + """ + + self._update_strategy = update_strategy + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DaemonSetSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DaemonSetSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_status.py new file mode 100644 index 0000000000000000000000000000000000000000..6b5b6832b90b504a7fbabcbd39194613780ac67c --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_status.py @@ -0,0 +1,378 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DaemonSetStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'collision_count': 'int', + 'conditions': 'list[V1DaemonSetCondition]', + 'current_number_scheduled': 'int', + 'desired_number_scheduled': 'int', + 'number_available': 'int', + 'number_misscheduled': 'int', + 'number_ready': 'int', + 'number_unavailable': 'int', + 'observed_generation': 'int', + 'updated_number_scheduled': 'int' + } + + attribute_map = { + 'collision_count': 'collisionCount', + 'conditions': 'conditions', + 'current_number_scheduled': 'currentNumberScheduled', + 'desired_number_scheduled': 'desiredNumberScheduled', + 'number_available': 'numberAvailable', + 'number_misscheduled': 'numberMisscheduled', + 'number_ready': 'numberReady', + 'number_unavailable': 'numberUnavailable', + 'observed_generation': 'observedGeneration', + 'updated_number_scheduled': 'updatedNumberScheduled' + } + + def __init__(self, collision_count=None, conditions=None, current_number_scheduled=None, desired_number_scheduled=None, number_available=None, number_misscheduled=None, number_ready=None, number_unavailable=None, observed_generation=None, updated_number_scheduled=None, local_vars_configuration=None): # noqa: E501 + """V1DaemonSetStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._collision_count = None + self._conditions = None + self._current_number_scheduled = None + self._desired_number_scheduled = None + self._number_available = None + self._number_misscheduled = None + self._number_ready = None + self._number_unavailable = None + self._observed_generation = None + self._updated_number_scheduled = None + self.discriminator = None + + if collision_count is not None: + self.collision_count = collision_count + if conditions is not None: + self.conditions = conditions + self.current_number_scheduled = current_number_scheduled + self.desired_number_scheduled = desired_number_scheduled + if number_available is not None: + self.number_available = number_available + self.number_misscheduled = number_misscheduled + self.number_ready = number_ready + if number_unavailable is not None: + self.number_unavailable = number_unavailable + if observed_generation is not None: + self.observed_generation = observed_generation + if updated_number_scheduled is not None: + self.updated_number_scheduled = updated_number_scheduled + + @property + def collision_count(self): + """Gets the collision_count of this V1DaemonSetStatus. # noqa: E501 + + Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. # noqa: E501 + + :return: The collision_count of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._collision_count + + @collision_count.setter + def collision_count(self, collision_count): + """Sets the collision_count of this V1DaemonSetStatus. + + Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. # noqa: E501 + + :param collision_count: The collision_count of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + + self._collision_count = collision_count + + @property + def conditions(self): + """Gets the conditions of this V1DaemonSetStatus. # noqa: E501 + + Represents the latest available observations of a DaemonSet's current state. # noqa: E501 + + :return: The conditions of this V1DaemonSetStatus. # noqa: E501 + :rtype: list[V1DaemonSetCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1DaemonSetStatus. + + Represents the latest available observations of a DaemonSet's current state. # noqa: E501 + + :param conditions: The conditions of this V1DaemonSetStatus. # noqa: E501 + :type: list[V1DaemonSetCondition] + """ + + self._conditions = conditions + + @property + def current_number_scheduled(self): + """Gets the current_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + + The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501 + + :return: The current_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._current_number_scheduled + + @current_number_scheduled.setter + def current_number_scheduled(self, current_number_scheduled): + """Sets the current_number_scheduled of this V1DaemonSetStatus. + + The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501 + + :param current_number_scheduled: The current_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and current_number_scheduled is None: # noqa: E501 + raise ValueError("Invalid value for `current_number_scheduled`, must not be `None`") # noqa: E501 + + self._current_number_scheduled = current_number_scheduled + + @property + def desired_number_scheduled(self): + """Gets the desired_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + + The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501 + + :return: The desired_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._desired_number_scheduled + + @desired_number_scheduled.setter + def desired_number_scheduled(self, desired_number_scheduled): + """Sets the desired_number_scheduled of this V1DaemonSetStatus. + + The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501 + + :param desired_number_scheduled: The desired_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and desired_number_scheduled is None: # noqa: E501 + raise ValueError("Invalid value for `desired_number_scheduled`, must not be `None`") # noqa: E501 + + self._desired_number_scheduled = desired_number_scheduled + + @property + def number_available(self): + """Gets the number_available of this V1DaemonSetStatus. # noqa: E501 + + The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) # noqa: E501 + + :return: The number_available of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._number_available + + @number_available.setter + def number_available(self, number_available): + """Sets the number_available of this V1DaemonSetStatus. + + The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) # noqa: E501 + + :param number_available: The number_available of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + + self._number_available = number_available + + @property + def number_misscheduled(self): + """Gets the number_misscheduled of this V1DaemonSetStatus. # noqa: E501 + + The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501 + + :return: The number_misscheduled of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._number_misscheduled + + @number_misscheduled.setter + def number_misscheduled(self, number_misscheduled): + """Sets the number_misscheduled of this V1DaemonSetStatus. + + The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ # noqa: E501 + + :param number_misscheduled: The number_misscheduled of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and number_misscheduled is None: # noqa: E501 + raise ValueError("Invalid value for `number_misscheduled`, must not be `None`") # noqa: E501 + + self._number_misscheduled = number_misscheduled + + @property + def number_ready(self): + """Gets the number_ready of this V1DaemonSetStatus. # noqa: E501 + + numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition. # noqa: E501 + + :return: The number_ready of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._number_ready + + @number_ready.setter + def number_ready(self, number_ready): + """Sets the number_ready of this V1DaemonSetStatus. + + numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition. # noqa: E501 + + :param number_ready: The number_ready of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + if self.local_vars_configuration.client_side_validation and number_ready is None: # noqa: E501 + raise ValueError("Invalid value for `number_ready`, must not be `None`") # noqa: E501 + + self._number_ready = number_ready + + @property + def number_unavailable(self): + """Gets the number_unavailable of this V1DaemonSetStatus. # noqa: E501 + + The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) # noqa: E501 + + :return: The number_unavailable of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._number_unavailable + + @number_unavailable.setter + def number_unavailable(self, number_unavailable): + """Sets the number_unavailable of this V1DaemonSetStatus. + + The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) # noqa: E501 + + :param number_unavailable: The number_unavailable of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + + self._number_unavailable = number_unavailable + + @property + def observed_generation(self): + """Gets the observed_generation of this V1DaemonSetStatus. # noqa: E501 + + The most recent generation observed by the daemon set controller. # noqa: E501 + + :return: The observed_generation of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1DaemonSetStatus. + + The most recent generation observed by the daemon set controller. # noqa: E501 + + :param observed_generation: The observed_generation of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + + self._observed_generation = observed_generation + + @property + def updated_number_scheduled(self): + """Gets the updated_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + + The total number of nodes that are running updated daemon pod # noqa: E501 + + :return: The updated_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + :rtype: int + """ + return self._updated_number_scheduled + + @updated_number_scheduled.setter + def updated_number_scheduled(self, updated_number_scheduled): + """Sets the updated_number_scheduled of this V1DaemonSetStatus. + + The total number of nodes that are running updated daemon pod # noqa: E501 + + :param updated_number_scheduled: The updated_number_scheduled of this V1DaemonSetStatus. # noqa: E501 + :type: int + """ + + self._updated_number_scheduled = updated_number_scheduled + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DaemonSetStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DaemonSetStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_update_strategy.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_update_strategy.py new file mode 100644 index 0000000000000000000000000000000000000000..cb0e137d12d69c9ba2e64d956cdb76b632b8a40f --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_daemon_set_update_strategy.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DaemonSetUpdateStrategy(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'rolling_update': 'V1RollingUpdateDaemonSet', + 'type': 'str' + } + + attribute_map = { + 'rolling_update': 'rollingUpdate', + 'type': 'type' + } + + def __init__(self, rolling_update=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1DaemonSetUpdateStrategy - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._rolling_update = None + self._type = None + self.discriminator = None + + if rolling_update is not None: + self.rolling_update = rolling_update + if type is not None: + self.type = type + + @property + def rolling_update(self): + """Gets the rolling_update of this V1DaemonSetUpdateStrategy. # noqa: E501 + + + :return: The rolling_update of this V1DaemonSetUpdateStrategy. # noqa: E501 + :rtype: V1RollingUpdateDaemonSet + """ + return self._rolling_update + + @rolling_update.setter + def rolling_update(self, rolling_update): + """Sets the rolling_update of this V1DaemonSetUpdateStrategy. + + + :param rolling_update: The rolling_update of this V1DaemonSetUpdateStrategy. # noqa: E501 + :type: V1RollingUpdateDaemonSet + """ + + self._rolling_update = rolling_update + + @property + def type(self): + """Gets the type of this V1DaemonSetUpdateStrategy. # noqa: E501 + + Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. # noqa: E501 + + :return: The type of this V1DaemonSetUpdateStrategy. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1DaemonSetUpdateStrategy. + + Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. # noqa: E501 + + :param type: The type of this V1DaemonSetUpdateStrategy. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DaemonSetUpdateStrategy): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DaemonSetUpdateStrategy): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_delete_options.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_delete_options.py new file mode 100644 index 0000000000000000000000000000000000000000..df3ca8671a77ef5129e1b8af8f0b3fdbc69678ec --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_delete_options.py @@ -0,0 +1,316 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeleteOptions(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'dry_run': 'list[str]', + 'grace_period_seconds': 'int', + 'ignore_store_read_error_with_cluster_breaking_potential': 'bool', + 'kind': 'str', + 'orphan_dependents': 'bool', + 'preconditions': 'V1Preconditions', + 'propagation_policy': 'str' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'dry_run': 'dryRun', + 'grace_period_seconds': 'gracePeriodSeconds', + 'ignore_store_read_error_with_cluster_breaking_potential': 'ignoreStoreReadErrorWithClusterBreakingPotential', + 'kind': 'kind', + 'orphan_dependents': 'orphanDependents', + 'preconditions': 'preconditions', + 'propagation_policy': 'propagationPolicy' + } + + def __init__(self, api_version=None, dry_run=None, grace_period_seconds=None, ignore_store_read_error_with_cluster_breaking_potential=None, kind=None, orphan_dependents=None, preconditions=None, propagation_policy=None, local_vars_configuration=None): # noqa: E501 + """V1DeleteOptions - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._dry_run = None + self._grace_period_seconds = None + self._ignore_store_read_error_with_cluster_breaking_potential = None + self._kind = None + self._orphan_dependents = None + self._preconditions = None + self._propagation_policy = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if dry_run is not None: + self.dry_run = dry_run + if grace_period_seconds is not None: + self.grace_period_seconds = grace_period_seconds + if ignore_store_read_error_with_cluster_breaking_potential is not None: + self.ignore_store_read_error_with_cluster_breaking_potential = ignore_store_read_error_with_cluster_breaking_potential + if kind is not None: + self.kind = kind + if orphan_dependents is not None: + self.orphan_dependents = orphan_dependents + if preconditions is not None: + self.preconditions = preconditions + if propagation_policy is not None: + self.propagation_policy = propagation_policy + + @property + def api_version(self): + """Gets the api_version of this V1DeleteOptions. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1DeleteOptions. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1DeleteOptions. + + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1DeleteOptions. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def dry_run(self): + """Gets the dry_run of this V1DeleteOptions. # noqa: E501 + + When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # noqa: E501 + + :return: The dry_run of this V1DeleteOptions. # noqa: E501 + :rtype: list[str] + """ + return self._dry_run + + @dry_run.setter + def dry_run(self, dry_run): + """Sets the dry_run of this V1DeleteOptions. + + When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # noqa: E501 + + :param dry_run: The dry_run of this V1DeleteOptions. # noqa: E501 + :type: list[str] + """ + + self._dry_run = dry_run + + @property + def grace_period_seconds(self): + """Gets the grace_period_seconds of this V1DeleteOptions. # noqa: E501 + + The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # noqa: E501 + + :return: The grace_period_seconds of this V1DeleteOptions. # noqa: E501 + :rtype: int + """ + return self._grace_period_seconds + + @grace_period_seconds.setter + def grace_period_seconds(self, grace_period_seconds): + """Sets the grace_period_seconds of this V1DeleteOptions. + + The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # noqa: E501 + + :param grace_period_seconds: The grace_period_seconds of this V1DeleteOptions. # noqa: E501 + :type: int + """ + + self._grace_period_seconds = grace_period_seconds + + @property + def ignore_store_read_error_with_cluster_breaking_potential(self): + """Gets the ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions. # noqa: E501 + + if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it # noqa: E501 + + :return: The ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions. # noqa: E501 + :rtype: bool + """ + return self._ignore_store_read_error_with_cluster_breaking_potential + + @ignore_store_read_error_with_cluster_breaking_potential.setter + def ignore_store_read_error_with_cluster_breaking_potential(self, ignore_store_read_error_with_cluster_breaking_potential): + """Sets the ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions. + + if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it # noqa: E501 + + :param ignore_store_read_error_with_cluster_breaking_potential: The ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions. # noqa: E501 + :type: bool + """ + + self._ignore_store_read_error_with_cluster_breaking_potential = ignore_store_read_error_with_cluster_breaking_potential + + @property + def kind(self): + """Gets the kind of this V1DeleteOptions. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1DeleteOptions. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1DeleteOptions. + + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1DeleteOptions. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def orphan_dependents(self): + """Gets the orphan_dependents of this V1DeleteOptions. # noqa: E501 + + 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. # noqa: E501 + + :return: The orphan_dependents of this V1DeleteOptions. # noqa: E501 + :rtype: bool + """ + return self._orphan_dependents + + @orphan_dependents.setter + def orphan_dependents(self, orphan_dependents): + """Sets the orphan_dependents of this V1DeleteOptions. + + 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. # noqa: E501 + + :param orphan_dependents: The orphan_dependents of this V1DeleteOptions. # noqa: E501 + :type: bool + """ + + self._orphan_dependents = orphan_dependents + + @property + def preconditions(self): + """Gets the preconditions of this V1DeleteOptions. # noqa: E501 + + + :return: The preconditions of this V1DeleteOptions. # noqa: E501 + :rtype: V1Preconditions + """ + return self._preconditions + + @preconditions.setter + def preconditions(self, preconditions): + """Sets the preconditions of this V1DeleteOptions. + + + :param preconditions: The preconditions of this V1DeleteOptions. # noqa: E501 + :type: V1Preconditions + """ + + self._preconditions = preconditions + + @property + def propagation_policy(self): + """Gets the propagation_policy of this V1DeleteOptions. # noqa: E501 + + 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # noqa: E501 + + :return: The propagation_policy of this V1DeleteOptions. # noqa: E501 + :rtype: str + """ + return self._propagation_policy + + @propagation_policy.setter + def propagation_policy(self, propagation_policy): + """Sets the propagation_policy of this V1DeleteOptions. + + 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # noqa: E501 + + :param propagation_policy: The propagation_policy of this V1DeleteOptions. # noqa: E501 + :type: str + """ + + self._propagation_policy = propagation_policy + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeleteOptions): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeleteOptions): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment.py new file mode 100644 index 0000000000000000000000000000000000000000..a8a980b5f88b174424b727430670a527334280b8 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Deployment(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1DeploymentSpec', + 'status': 'V1DeploymentStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1Deployment - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1Deployment. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1Deployment. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1Deployment. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1Deployment. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1Deployment. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1Deployment. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1Deployment. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1Deployment. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1Deployment. # noqa: E501 + + + :return: The metadata of this V1Deployment. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1Deployment. + + + :param metadata: The metadata of this V1Deployment. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1Deployment. # noqa: E501 + + + :return: The spec of this V1Deployment. # noqa: E501 + :rtype: V1DeploymentSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1Deployment. + + + :param spec: The spec of this V1Deployment. # noqa: E501 + :type: V1DeploymentSpec + """ + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1Deployment. # noqa: E501 + + + :return: The status of this V1Deployment. # noqa: E501 + :rtype: V1DeploymentStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1Deployment. + + + :param status: The status of this V1Deployment. # noqa: E501 + :type: V1DeploymentStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Deployment): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Deployment): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_condition.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_condition.py new file mode 100644 index 0000000000000000000000000000000000000000..34b07d2942651a23ff793b0f68fed038ff4da413 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_condition.py @@ -0,0 +1,264 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeploymentCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'last_update_time': 'datetime', + 'message': 'str', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'last_update_time': 'lastUpdateTime', + 'message': 'message', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, last_update_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1DeploymentCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._last_update_time = None + self._message = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + if last_transition_time is not None: + self.last_transition_time = last_transition_time + if last_update_time is not None: + self.last_update_time = last_update_time + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + self.status = status + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1DeploymentCondition. # noqa: E501 + + Last time the condition transitioned from one status to another. # noqa: E501 + + :return: The last_transition_time of this V1DeploymentCondition. # noqa: E501 + :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 V1DeploymentCondition. + + Last time the condition transitioned from one status to another. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1DeploymentCondition. # noqa: E501 + :type: datetime + """ + + self._last_transition_time = last_transition_time + + @property + def last_update_time(self): + """Gets the last_update_time of this V1DeploymentCondition. # noqa: E501 + + The last time this condition was updated. # noqa: E501 + + :return: The last_update_time of this V1DeploymentCondition. # noqa: E501 + :rtype: datetime + """ + return self._last_update_time + + @last_update_time.setter + def last_update_time(self, last_update_time): + """Sets the last_update_time of this V1DeploymentCondition. + + The last time this condition was updated. # noqa: E501 + + :param last_update_time: The last_update_time of this V1DeploymentCondition. # noqa: E501 + :type: datetime + """ + + self._last_update_time = last_update_time + + @property + def message(self): + """Gets the message of this V1DeploymentCondition. # noqa: E501 + + A human readable message indicating details about the transition. # noqa: E501 + + :return: The message of this V1DeploymentCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1DeploymentCondition. + + A human readable message indicating details about the transition. # noqa: E501 + + :param message: The message of this V1DeploymentCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1DeploymentCondition. # noqa: E501 + + The reason for the condition's last transition. # noqa: E501 + + :return: The reason of this V1DeploymentCondition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1DeploymentCondition. + + The reason for the condition's last transition. # noqa: E501 + + :param reason: The reason of this V1DeploymentCondition. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1DeploymentCondition. # noqa: E501 + + Status of the condition, one of True, False, Unknown. # noqa: E501 + + :return: The status of this V1DeploymentCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1DeploymentCondition. + + Status of the condition, one of True, False, Unknown. # noqa: E501 + + :param status: The status of this V1DeploymentCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and status is None: # noqa: E501 + raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 + + self._status = status + + @property + def type(self): + """Gets the type of this V1DeploymentCondition. # noqa: E501 + + Type of deployment condition. # noqa: E501 + + :return: The type of this V1DeploymentCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1DeploymentCondition. + + Type of deployment condition. # noqa: E501 + + :param type: The type of this V1DeploymentCondition. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeploymentCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeploymentCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_list.py new file mode 100644 index 0000000000000000000000000000000000000000..db34ccd92e59e1a74fbc31d6e11d9dc450759da3 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeploymentList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1Deployment]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1DeploymentList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1DeploymentList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1DeploymentList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1DeploymentList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1DeploymentList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1DeploymentList. # noqa: E501 + + Items is the list of Deployments. # noqa: E501 + + :return: The items of this V1DeploymentList. # noqa: E501 + :rtype: list[V1Deployment] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1DeploymentList. + + Items is the list of Deployments. # noqa: E501 + + :param items: The items of this V1DeploymentList. # noqa: E501 + :type: list[V1Deployment] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1DeploymentList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1DeploymentList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1DeploymentList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1DeploymentList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1DeploymentList. # noqa: E501 + + + :return: The metadata of this V1DeploymentList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1DeploymentList. + + + :param metadata: The metadata of this V1DeploymentList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeploymentList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeploymentList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..6ed4b4828de9f1f51220c46b12d8db0303235b06 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_spec.py @@ -0,0 +1,314 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeploymentSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'min_ready_seconds': 'int', + 'paused': 'bool', + 'progress_deadline_seconds': 'int', + 'replicas': 'int', + 'revision_history_limit': 'int', + 'selector': 'V1LabelSelector', + 'strategy': 'V1DeploymentStrategy', + 'template': 'V1PodTemplateSpec' + } + + attribute_map = { + 'min_ready_seconds': 'minReadySeconds', + 'paused': 'paused', + 'progress_deadline_seconds': 'progressDeadlineSeconds', + 'replicas': 'replicas', + 'revision_history_limit': 'revisionHistoryLimit', + 'selector': 'selector', + 'strategy': 'strategy', + 'template': 'template' + } + + def __init__(self, min_ready_seconds=None, paused=None, progress_deadline_seconds=None, replicas=None, revision_history_limit=None, selector=None, strategy=None, template=None, local_vars_configuration=None): # noqa: E501 + """V1DeploymentSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._min_ready_seconds = None + self._paused = None + self._progress_deadline_seconds = None + self._replicas = None + self._revision_history_limit = None + self._selector = None + self._strategy = None + self._template = None + self.discriminator = None + + if min_ready_seconds is not None: + self.min_ready_seconds = min_ready_seconds + if paused is not None: + self.paused = paused + if progress_deadline_seconds is not None: + self.progress_deadline_seconds = progress_deadline_seconds + if replicas is not None: + self.replicas = replicas + if revision_history_limit is not None: + self.revision_history_limit = revision_history_limit + self.selector = selector + if strategy is not None: + self.strategy = strategy + self.template = template + + @property + def min_ready_seconds(self): + """Gets the min_ready_seconds of this V1DeploymentSpec. # noqa: E501 + + 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) # noqa: E501 + + :return: The min_ready_seconds of this V1DeploymentSpec. # noqa: E501 + :rtype: int + """ + return self._min_ready_seconds + + @min_ready_seconds.setter + def min_ready_seconds(self, min_ready_seconds): + """Sets the min_ready_seconds of this V1DeploymentSpec. + + 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) # noqa: E501 + + :param min_ready_seconds: The min_ready_seconds of this V1DeploymentSpec. # noqa: E501 + :type: int + """ + + self._min_ready_seconds = min_ready_seconds + + @property + def paused(self): + """Gets the paused of this V1DeploymentSpec. # noqa: E501 + + Indicates that the deployment is paused. # noqa: E501 + + :return: The paused of this V1DeploymentSpec. # noqa: E501 + :rtype: bool + """ + return self._paused + + @paused.setter + def paused(self, paused): + """Sets the paused of this V1DeploymentSpec. + + Indicates that the deployment is paused. # noqa: E501 + + :param paused: The paused of this V1DeploymentSpec. # noqa: E501 + :type: bool + """ + + self._paused = paused + + @property + def progress_deadline_seconds(self): + """Gets the progress_deadline_seconds of this V1DeploymentSpec. # noqa: E501 + + 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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. # noqa: E501 + + :return: The progress_deadline_seconds of this V1DeploymentSpec. # noqa: E501 + :rtype: int + """ + return self._progress_deadline_seconds + + @progress_deadline_seconds.setter + def progress_deadline_seconds(self, progress_deadline_seconds): + """Sets the progress_deadline_seconds of this V1DeploymentSpec. + + 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. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. # noqa: E501 + + :param progress_deadline_seconds: The progress_deadline_seconds of this V1DeploymentSpec. # noqa: E501 + :type: int + """ + + self._progress_deadline_seconds = progress_deadline_seconds + + @property + def replicas(self): + """Gets the replicas of this V1DeploymentSpec. # noqa: E501 + + Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. # noqa: E501 + + :return: The replicas of this V1DeploymentSpec. # noqa: E501 + :rtype: int + """ + return self._replicas + + @replicas.setter + def replicas(self, replicas): + """Sets the replicas of this V1DeploymentSpec. + + Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. # noqa: E501 + + :param replicas: The replicas of this V1DeploymentSpec. # noqa: E501 + :type: int + """ + + self._replicas = replicas + + @property + def revision_history_limit(self): + """Gets the revision_history_limit of this V1DeploymentSpec. # noqa: E501 + + The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. # noqa: E501 + + :return: The revision_history_limit of this V1DeploymentSpec. # noqa: E501 + :rtype: int + """ + return self._revision_history_limit + + @revision_history_limit.setter + def revision_history_limit(self, revision_history_limit): + """Sets the revision_history_limit of this V1DeploymentSpec. + + The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. # noqa: E501 + + :param revision_history_limit: The revision_history_limit of this V1DeploymentSpec. # noqa: E501 + :type: int + """ + + self._revision_history_limit = revision_history_limit + + @property + def selector(self): + """Gets the selector of this V1DeploymentSpec. # noqa: E501 + + + :return: The selector of this V1DeploymentSpec. # noqa: E501 + :rtype: V1LabelSelector + """ + return self._selector + + @selector.setter + def selector(self, selector): + """Sets the selector of this V1DeploymentSpec. + + + :param selector: The selector of this V1DeploymentSpec. # noqa: E501 + :type: V1LabelSelector + """ + if self.local_vars_configuration.client_side_validation and selector is None: # noqa: E501 + raise ValueError("Invalid value for `selector`, must not be `None`") # noqa: E501 + + self._selector = selector + + @property + def strategy(self): + """Gets the strategy of this V1DeploymentSpec. # noqa: E501 + + + :return: The strategy of this V1DeploymentSpec. # noqa: E501 + :rtype: V1DeploymentStrategy + """ + return self._strategy + + @strategy.setter + def strategy(self, strategy): + """Sets the strategy of this V1DeploymentSpec. + + + :param strategy: The strategy of this V1DeploymentSpec. # noqa: E501 + :type: V1DeploymentStrategy + """ + + self._strategy = strategy + + @property + def template(self): + """Gets the template of this V1DeploymentSpec. # noqa: E501 + + + :return: The template of this V1DeploymentSpec. # noqa: E501 + :rtype: V1PodTemplateSpec + """ + return self._template + + @template.setter + def template(self, template): + """Sets the template of this V1DeploymentSpec. + + + :param template: The template of this V1DeploymentSpec. # noqa: E501 + :type: V1PodTemplateSpec + """ + if self.local_vars_configuration.client_side_validation and template is None: # noqa: E501 + raise ValueError("Invalid value for `template`, must not be `None`") # noqa: E501 + + self._template = template + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeploymentSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeploymentSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_status.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_status.py new file mode 100644 index 0000000000000000000000000000000000000000..f4866a5a1da8c4ce895c652859310f89eedcf6b0 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_status.py @@ -0,0 +1,346 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeploymentStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'available_replicas': 'int', + 'collision_count': 'int', + 'conditions': 'list[V1DeploymentCondition]', + 'observed_generation': 'int', + 'ready_replicas': 'int', + 'replicas': 'int', + 'terminating_replicas': 'int', + 'unavailable_replicas': 'int', + 'updated_replicas': 'int' + } + + attribute_map = { + 'available_replicas': 'availableReplicas', + 'collision_count': 'collisionCount', + 'conditions': 'conditions', + 'observed_generation': 'observedGeneration', + 'ready_replicas': 'readyReplicas', + 'replicas': 'replicas', + 'terminating_replicas': 'terminatingReplicas', + 'unavailable_replicas': 'unavailableReplicas', + 'updated_replicas': 'updatedReplicas' + } + + def __init__(self, available_replicas=None, collision_count=None, conditions=None, observed_generation=None, ready_replicas=None, replicas=None, terminating_replicas=None, unavailable_replicas=None, updated_replicas=None, local_vars_configuration=None): # noqa: E501 + """V1DeploymentStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._available_replicas = None + self._collision_count = None + self._conditions = None + self._observed_generation = None + self._ready_replicas = None + self._replicas = None + self._terminating_replicas = None + self._unavailable_replicas = None + self._updated_replicas = None + self.discriminator = None + + if available_replicas is not None: + self.available_replicas = available_replicas + if collision_count is not None: + self.collision_count = collision_count + if conditions is not None: + self.conditions = conditions + if observed_generation is not None: + self.observed_generation = observed_generation + if ready_replicas is not None: + self.ready_replicas = ready_replicas + if replicas is not None: + self.replicas = replicas + if terminating_replicas is not None: + self.terminating_replicas = terminating_replicas + if unavailable_replicas is not None: + self.unavailable_replicas = unavailable_replicas + if updated_replicas is not None: + self.updated_replicas = updated_replicas + + @property + def available_replicas(self): + """Gets the available_replicas of this V1DeploymentStatus. # noqa: E501 + + Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment. # noqa: E501 + + :return: The available_replicas of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._available_replicas + + @available_replicas.setter + def available_replicas(self, available_replicas): + """Sets the available_replicas of this V1DeploymentStatus. + + Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment. # noqa: E501 + + :param available_replicas: The available_replicas of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._available_replicas = available_replicas + + @property + def collision_count(self): + """Gets the collision_count of this V1DeploymentStatus. # noqa: E501 + + Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. # noqa: E501 + + :return: The collision_count of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._collision_count + + @collision_count.setter + def collision_count(self, collision_count): + """Sets the collision_count of this V1DeploymentStatus. + + Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. # noqa: E501 + + :param collision_count: The collision_count of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._collision_count = collision_count + + @property + def conditions(self): + """Gets the conditions of this V1DeploymentStatus. # noqa: E501 + + Represents the latest available observations of a deployment's current state. # noqa: E501 + + :return: The conditions of this V1DeploymentStatus. # noqa: E501 + :rtype: list[V1DeploymentCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1DeploymentStatus. + + Represents the latest available observations of a deployment's current state. # noqa: E501 + + :param conditions: The conditions of this V1DeploymentStatus. # noqa: E501 + :type: list[V1DeploymentCondition] + """ + + self._conditions = conditions + + @property + def observed_generation(self): + """Gets the observed_generation of this V1DeploymentStatus. # noqa: E501 + + The generation observed by the deployment controller. # noqa: E501 + + :return: The observed_generation of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._observed_generation + + @observed_generation.setter + def observed_generation(self, observed_generation): + """Sets the observed_generation of this V1DeploymentStatus. + + The generation observed by the deployment controller. # noqa: E501 + + :param observed_generation: The observed_generation of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._observed_generation = observed_generation + + @property + def ready_replicas(self): + """Gets the ready_replicas of this V1DeploymentStatus. # noqa: E501 + + Total number of non-terminating pods targeted by this Deployment with a Ready Condition. # noqa: E501 + + :return: The ready_replicas of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._ready_replicas + + @ready_replicas.setter + def ready_replicas(self, ready_replicas): + """Sets the ready_replicas of this V1DeploymentStatus. + + Total number of non-terminating pods targeted by this Deployment with a Ready Condition. # noqa: E501 + + :param ready_replicas: The ready_replicas of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._ready_replicas = ready_replicas + + @property + def replicas(self): + """Gets the replicas of this V1DeploymentStatus. # noqa: E501 + + Total number of non-terminating pods targeted by this deployment (their labels match the selector). # noqa: E501 + + :return: The replicas of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._replicas + + @replicas.setter + def replicas(self, replicas): + """Sets the replicas of this V1DeploymentStatus. + + Total number of non-terminating pods targeted by this deployment (their labels match the selector). # noqa: E501 + + :param replicas: The replicas of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._replicas = replicas + + @property + def terminating_replicas(self): + """Gets the terminating_replicas of this V1DeploymentStatus. # noqa: E501 + + Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default). # noqa: E501 + + :return: The terminating_replicas of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._terminating_replicas + + @terminating_replicas.setter + def terminating_replicas(self, terminating_replicas): + """Sets the terminating_replicas of this V1DeploymentStatus. + + Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default). # noqa: E501 + + :param terminating_replicas: The terminating_replicas of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._terminating_replicas = terminating_replicas + + @property + def unavailable_replicas(self): + """Gets the unavailable_replicas of this V1DeploymentStatus. # noqa: E501 + + Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. # noqa: E501 + + :return: The unavailable_replicas of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._unavailable_replicas + + @unavailable_replicas.setter + def unavailable_replicas(self, unavailable_replicas): + """Sets the unavailable_replicas of this V1DeploymentStatus. + + Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. # noqa: E501 + + :param unavailable_replicas: The unavailable_replicas of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._unavailable_replicas = unavailable_replicas + + @property + def updated_replicas(self): + """Gets the updated_replicas of this V1DeploymentStatus. # noqa: E501 + + Total number of non-terminating pods targeted by this deployment that have the desired template spec. # noqa: E501 + + :return: The updated_replicas of this V1DeploymentStatus. # noqa: E501 + :rtype: int + """ + return self._updated_replicas + + @updated_replicas.setter + def updated_replicas(self, updated_replicas): + """Sets the updated_replicas of this V1DeploymentStatus. + + Total number of non-terminating pods targeted by this deployment that have the desired template spec. # noqa: E501 + + :param updated_replicas: The updated_replicas of this V1DeploymentStatus. # noqa: E501 + :type: int + """ + + self._updated_replicas = updated_replicas + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeploymentStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeploymentStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_strategy.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_strategy.py new file mode 100644 index 0000000000000000000000000000000000000000..3000f5539bcb2a5844196f6b7324a733bd89529f --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_deployment_strategy.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeploymentStrategy(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'rolling_update': 'V1RollingUpdateDeployment', + 'type': 'str' + } + + attribute_map = { + 'rolling_update': 'rollingUpdate', + 'type': 'type' + } + + def __init__(self, rolling_update=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1DeploymentStrategy - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._rolling_update = None + self._type = None + self.discriminator = None + + if rolling_update is not None: + self.rolling_update = rolling_update + if type is not None: + self.type = type + + @property + def rolling_update(self): + """Gets the rolling_update of this V1DeploymentStrategy. # noqa: E501 + + + :return: The rolling_update of this V1DeploymentStrategy. # noqa: E501 + :rtype: V1RollingUpdateDeployment + """ + return self._rolling_update + + @rolling_update.setter + def rolling_update(self, rolling_update): + """Sets the rolling_update of this V1DeploymentStrategy. + + + :param rolling_update: The rolling_update of this V1DeploymentStrategy. # noqa: E501 + :type: V1RollingUpdateDeployment + """ + + self._rolling_update = rolling_update + + @property + def type(self): + """Gets the type of this V1DeploymentStrategy. # noqa: E501 + + Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. # noqa: E501 + + :return: The type of this V1DeploymentStrategy. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1DeploymentStrategy. + + Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. # noqa: E501 + + :param type: The type of this V1DeploymentStrategy. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeploymentStrategy): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeploymentStrategy): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device.py new file mode 100644 index 0000000000000000000000000000000000000000..0c932ab96b8b082a9b949fca73ac20f7a3644c12 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device.py @@ -0,0 +1,429 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1Device(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'all_nodes': 'bool', + 'allow_multiple_allocations': 'bool', + 'attributes': 'dict(str, V1DeviceAttribute)', + 'binding_conditions': 'list[str]', + 'binding_failure_conditions': 'list[str]', + 'binds_to_node': 'bool', + 'capacity': 'dict(str, V1DeviceCapacity)', + 'consumes_counters': 'list[V1DeviceCounterConsumption]', + 'name': 'str', + 'node_name': 'str', + 'node_selector': 'V1NodeSelector', + 'taints': 'list[V1DeviceTaint]' + } + + attribute_map = { + 'all_nodes': 'allNodes', + 'allow_multiple_allocations': 'allowMultipleAllocations', + 'attributes': 'attributes', + 'binding_conditions': 'bindingConditions', + 'binding_failure_conditions': 'bindingFailureConditions', + 'binds_to_node': 'bindsToNode', + 'capacity': 'capacity', + 'consumes_counters': 'consumesCounters', + 'name': 'name', + 'node_name': 'nodeName', + 'node_selector': 'nodeSelector', + 'taints': 'taints' + } + + def __init__(self, all_nodes=None, allow_multiple_allocations=None, attributes=None, binding_conditions=None, binding_failure_conditions=None, binds_to_node=None, capacity=None, consumes_counters=None, name=None, node_name=None, node_selector=None, taints=None, local_vars_configuration=None): # noqa: E501 + """V1Device - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._all_nodes = None + self._allow_multiple_allocations = None + self._attributes = None + self._binding_conditions = None + self._binding_failure_conditions = None + self._binds_to_node = None + self._capacity = None + self._consumes_counters = None + self._name = None + self._node_name = None + self._node_selector = None + self._taints = None + self.discriminator = None + + if all_nodes is not None: + self.all_nodes = all_nodes + if allow_multiple_allocations is not None: + self.allow_multiple_allocations = allow_multiple_allocations + if attributes is not None: + self.attributes = attributes + if binding_conditions is not None: + self.binding_conditions = binding_conditions + if binding_failure_conditions is not None: + self.binding_failure_conditions = binding_failure_conditions + if binds_to_node is not None: + self.binds_to_node = binds_to_node + if capacity is not None: + self.capacity = capacity + if consumes_counters is not None: + self.consumes_counters = consumes_counters + self.name = name + if node_name is not None: + self.node_name = node_name + if node_selector is not None: + self.node_selector = node_selector + if taints is not None: + self.taints = taints + + @property + def all_nodes(self): + """Gets the all_nodes of this V1Device. # noqa: E501 + + AllNodes indicates that all nodes have access to the device. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :return: The all_nodes of this V1Device. # noqa: E501 + :rtype: bool + """ + return self._all_nodes + + @all_nodes.setter + def all_nodes(self, all_nodes): + """Sets the all_nodes of this V1Device. + + AllNodes indicates that all nodes have access to the device. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :param all_nodes: The all_nodes of this V1Device. # noqa: E501 + :type: bool + """ + + self._all_nodes = all_nodes + + @property + def allow_multiple_allocations(self): + """Gets the allow_multiple_allocations of this V1Device. # noqa: E501 + + AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests. If AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not. # noqa: E501 + + :return: The allow_multiple_allocations of this V1Device. # noqa: E501 + :rtype: bool + """ + return self._allow_multiple_allocations + + @allow_multiple_allocations.setter + def allow_multiple_allocations(self, allow_multiple_allocations): + """Sets the allow_multiple_allocations of this V1Device. + + AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests. If AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not. # noqa: E501 + + :param allow_multiple_allocations: The allow_multiple_allocations of this V1Device. # noqa: E501 + :type: bool + """ + + self._allow_multiple_allocations = allow_multiple_allocations + + @property + def attributes(self): + """Gets the attributes of this V1Device. # noqa: E501 + + Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :return: The attributes of this V1Device. # noqa: E501 + :rtype: dict(str, V1DeviceAttribute) + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this V1Device. + + Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :param attributes: The attributes of this V1Device. # noqa: E501 + :type: dict(str, V1DeviceAttribute) + """ + + self._attributes = attributes + + @property + def binding_conditions(self): + """Gets the binding_conditions of this V1Device. # noqa: E501 + + BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_conditions of this V1Device. # noqa: E501 + :rtype: list[str] + """ + return self._binding_conditions + + @binding_conditions.setter + def binding_conditions(self, binding_conditions): + """Sets the binding_conditions of this V1Device. + + BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod. The maximum number of binding conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_conditions: The binding_conditions of this V1Device. # noqa: E501 + :type: list[str] + """ + + self._binding_conditions = binding_conditions + + @property + def binding_failure_conditions(self): + """Gets the binding_failure_conditions of this V1Device. # noqa: E501 + + BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_failure_conditions of this V1Device. # noqa: E501 + :rtype: list[str] + """ + return self._binding_failure_conditions + + @binding_failure_conditions.setter + def binding_failure_conditions(self, binding_failure_conditions): + """Sets the binding_failure_conditions of this V1Device. + + BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred. The maximum number of binding failure conditions is 4. The conditions must be a valid condition type string. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_failure_conditions: The binding_failure_conditions of this V1Device. # noqa: E501 + :type: list[str] + """ + + self._binding_failure_conditions = binding_failure_conditions + + @property + def binds_to_node(self): + """Gets the binds_to_node of this V1Device. # noqa: E501 + + BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binds_to_node of this V1Device. # noqa: E501 + :rtype: bool + """ + return self._binds_to_node + + @binds_to_node.setter + def binds_to_node(self, binds_to_node): + """Sets the binds_to_node of this V1Device. + + BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binds_to_node: The binds_to_node of this V1Device. # noqa: E501 + :type: bool + """ + + self._binds_to_node = binds_to_node + + @property + def capacity(self): + """Gets the capacity of this V1Device. # noqa: E501 + + Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :return: The capacity of this V1Device. # noqa: E501 + :rtype: dict(str, V1DeviceCapacity) + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this V1Device. + + Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32. # noqa: E501 + + :param capacity: The capacity of this V1Device. # noqa: E501 + :type: dict(str, V1DeviceCapacity) + """ + + self._capacity = capacity + + @property + def consumes_counters(self): + """Gets the consumes_counters of this V1Device. # noqa: E501 + + ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The maximum number of device counter consumptions per device is 2. # noqa: E501 + + :return: The consumes_counters of this V1Device. # noqa: E501 + :rtype: list[V1DeviceCounterConsumption] + """ + return self._consumes_counters + + @consumes_counters.setter + def consumes_counters(self, consumes_counters): + """Sets the consumes_counters of this V1Device. + + ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets. There can only be a single entry per counterSet. The maximum number of device counter consumptions per device is 2. # noqa: E501 + + :param consumes_counters: The consumes_counters of this V1Device. # noqa: E501 + :type: list[V1DeviceCounterConsumption] + """ + + self._consumes_counters = consumes_counters + + @property + def name(self): + """Gets the name of this V1Device. # noqa: E501 + + Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501 + + :return: The name of this V1Device. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1Device. + + Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label. # noqa: E501 + + :param name: The name of this V1Device. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def node_name(self): + """Gets the node_name of this V1Device. # noqa: E501 + + NodeName identifies the node where the device is available. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :return: The node_name of this V1Device. # noqa: E501 + :rtype: str + """ + return self._node_name + + @node_name.setter + def node_name(self, node_name): + """Sets the node_name of this V1Device. + + NodeName identifies the node where the device is available. Must only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set. # noqa: E501 + + :param node_name: The node_name of this V1Device. # noqa: E501 + :type: str + """ + + self._node_name = node_name + + @property + def node_selector(self): + """Gets the node_selector of this V1Device. # noqa: E501 + + + :return: The node_selector of this V1Device. # noqa: E501 + :rtype: V1NodeSelector + """ + return self._node_selector + + @node_selector.setter + def node_selector(self, node_selector): + """Sets the node_selector of this V1Device. + + + :param node_selector: The node_selector of this V1Device. # noqa: E501 + :type: V1NodeSelector + """ + + self._node_selector = node_selector + + @property + def taints(self): + """Gets the taints of this V1Device. # noqa: E501 + + If specified, these are the driver-defined taints. The maximum number of taints is 16. If taints are set for any device in a ResourceSlice, then the maximum number of allowed devices per ResourceSlice is 64 instead of 128. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The taints of this V1Device. # noqa: E501 + :rtype: list[V1DeviceTaint] + """ + return self._taints + + @taints.setter + def taints(self, taints): + """Sets the taints of this V1Device. + + If specified, these are the driver-defined taints. The maximum number of taints is 16. If taints are set for any device in a ResourceSlice, then the maximum number of allowed devices per ResourceSlice is 64 instead of 128. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param taints: The taints of this V1Device. # noqa: E501 + :type: list[V1DeviceTaint] + """ + + self._taints = taints + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1Device): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1Device): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_allocation_configuration.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_allocation_configuration.py new file mode 100644 index 0000000000000000000000000000000000000000..87c809c9020f6289763b27987dd3e68d6847a53d --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_allocation_configuration.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceAllocationConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'opaque': 'V1OpaqueDeviceConfiguration', + 'requests': 'list[str]', + 'source': 'str' + } + + attribute_map = { + 'opaque': 'opaque', + 'requests': 'requests', + 'source': 'source' + } + + def __init__(self, opaque=None, requests=None, source=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceAllocationConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._opaque = None + self._requests = None + self._source = None + self.discriminator = None + + if opaque is not None: + self.opaque = opaque + if requests is not None: + self.requests = requests + self.source = source + + @property + def opaque(self): + """Gets the opaque of this V1DeviceAllocationConfiguration. # noqa: E501 + + + :return: The opaque of this V1DeviceAllocationConfiguration. # noqa: E501 + :rtype: V1OpaqueDeviceConfiguration + """ + return self._opaque + + @opaque.setter + def opaque(self, opaque): + """Sets the opaque of this V1DeviceAllocationConfiguration. + + + :param opaque: The opaque of this V1DeviceAllocationConfiguration. # noqa: E501 + :type: V1OpaqueDeviceConfiguration + """ + + self._opaque = opaque + + @property + def requests(self): + """Gets the requests of this V1DeviceAllocationConfiguration. # noqa: E501 + + Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 + + :return: The requests of this V1DeviceAllocationConfiguration. # noqa: E501 + :rtype: list[str] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1DeviceAllocationConfiguration. + + Requests lists the names of requests where the configuration applies. If empty, its applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 + + :param requests: The requests of this V1DeviceAllocationConfiguration. # noqa: E501 + :type: list[str] + """ + + self._requests = requests + + @property + def source(self): + """Gets the source of this V1DeviceAllocationConfiguration. # noqa: E501 + + Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501 + + :return: The source of this V1DeviceAllocationConfiguration. # noqa: E501 + :rtype: str + """ + return self._source + + @source.setter + def source(self, source): + """Sets the source of this V1DeviceAllocationConfiguration. + + Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim. # noqa: E501 + + :param source: The source of this V1DeviceAllocationConfiguration. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and source is None: # noqa: E501 + raise ValueError("Invalid value for `source`, must not be `None`") # noqa: E501 + + self._source = source + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceAllocationConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceAllocationConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_allocation_result.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_allocation_result.py new file mode 100644 index 0000000000000000000000000000000000000000..1df606e8b210ed8b0770a5338e380fae86b8ee41 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_allocation_result.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceAllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1DeviceAllocationConfiguration]', + 'results': 'list[V1DeviceRequestAllocationResult]' + } + + attribute_map = { + 'config': 'config', + 'results': 'results' + } + + def __init__(self, config=None, results=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceAllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._results = None + self.discriminator = None + + if config is not None: + self.config = config + if results is not None: + self.results = results + + @property + def config(self): + """Gets the config of this V1DeviceAllocationResult. # noqa: E501 + + This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. # noqa: E501 + + :return: The config of this V1DeviceAllocationResult. # noqa: E501 + :rtype: list[V1DeviceAllocationConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1DeviceAllocationResult. + + This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag. This includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters. # noqa: E501 + + :param config: The config of this V1DeviceAllocationResult. # noqa: E501 + :type: list[V1DeviceAllocationConfiguration] + """ + + self._config = config + + @property + def results(self): + """Gets the results of this V1DeviceAllocationResult. # noqa: E501 + + Results lists all allocated devices. # noqa: E501 + + :return: The results of this V1DeviceAllocationResult. # noqa: E501 + :rtype: list[V1DeviceRequestAllocationResult] + """ + return self._results + + @results.setter + def results(self, results): + """Sets the results of this V1DeviceAllocationResult. + + Results lists all allocated devices. # noqa: E501 + + :param results: The results of this V1DeviceAllocationResult. # noqa: E501 + :type: list[V1DeviceRequestAllocationResult] + """ + + self._results = results + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceAllocationResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceAllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_attribute.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_attribute.py new file mode 100644 index 0000000000000000000000000000000000000000..9b6300961cfd6ddc0b20e4dcc035f0816e48b6ef --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_attribute.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceAttribute(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'bool': 'bool', + 'int': 'int', + 'string': 'str', + 'version': 'str' + } + + attribute_map = { + 'bool': 'bool', + 'int': 'int', + 'string': 'string', + 'version': 'version' + } + + def __init__(self, bool=None, int=None, string=None, version=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceAttribute - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._bool = None + self._int = None + self._string = None + self._version = None + self.discriminator = None + + if bool is not None: + self.bool = bool + if int is not None: + self.int = int + if string is not None: + self.string = string + if version is not None: + self.version = version + + @property + def bool(self): + """Gets the bool of this V1DeviceAttribute. # noqa: E501 + + BoolValue is a true/false value. # noqa: E501 + + :return: The bool of this V1DeviceAttribute. # noqa: E501 + :rtype: bool + """ + return self._bool + + @bool.setter + def bool(self, bool): + """Sets the bool of this V1DeviceAttribute. + + BoolValue is a true/false value. # noqa: E501 + + :param bool: The bool of this V1DeviceAttribute. # noqa: E501 + :type: bool + """ + + self._bool = bool + + @property + def int(self): + """Gets the int of this V1DeviceAttribute. # noqa: E501 + + IntValue is a number. # noqa: E501 + + :return: The int of this V1DeviceAttribute. # noqa: E501 + :rtype: int + """ + return self._int + + @int.setter + def int(self, int): + """Sets the int of this V1DeviceAttribute. + + IntValue is a number. # noqa: E501 + + :param int: The int of this V1DeviceAttribute. # noqa: E501 + :type: int + """ + + self._int = int + + @property + def string(self): + """Gets the string of this V1DeviceAttribute. # noqa: E501 + + StringValue is a string. Must not be longer than 64 characters. # noqa: E501 + + :return: The string of this V1DeviceAttribute. # noqa: E501 + :rtype: str + """ + return self._string + + @string.setter + def string(self, string): + """Sets the string of this V1DeviceAttribute. + + StringValue is a string. Must not be longer than 64 characters. # noqa: E501 + + :param string: The string of this V1DeviceAttribute. # noqa: E501 + :type: str + """ + + self._string = string + + @property + def version(self): + """Gets the version of this V1DeviceAttribute. # noqa: E501 + + VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. # noqa: E501 + + :return: The version of this V1DeviceAttribute. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this V1DeviceAttribute. + + VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters. # noqa: E501 + + :param version: The version of this V1DeviceAttribute. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceAttribute): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceAttribute): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_capacity.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_capacity.py new file mode 100644 index 0000000000000000000000000000000000000000..46ae676254769987b5c7f6f4bd6d74ea45f15340 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_capacity.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceCapacity(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'request_policy': 'V1CapacityRequestPolicy', + 'value': 'str' + } + + attribute_map = { + 'request_policy': 'requestPolicy', + 'value': 'value' + } + + def __init__(self, request_policy=None, value=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceCapacity - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._request_policy = None + self._value = None + self.discriminator = None + + if request_policy is not None: + self.request_policy = request_policy + self.value = value + + @property + def request_policy(self): + """Gets the request_policy of this V1DeviceCapacity. # noqa: E501 + + + :return: The request_policy of this V1DeviceCapacity. # noqa: E501 + :rtype: V1CapacityRequestPolicy + """ + return self._request_policy + + @request_policy.setter + def request_policy(self, request_policy): + """Sets the request_policy of this V1DeviceCapacity. + + + :param request_policy: The request_policy of this V1DeviceCapacity. # noqa: E501 + :type: V1CapacityRequestPolicy + """ + + self._request_policy = request_policy + + @property + def value(self): + """Gets the value of this V1DeviceCapacity. # noqa: E501 + + Value defines how much of a certain capacity that device has. This field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value. # noqa: E501 + + :return: The value of this V1DeviceCapacity. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1DeviceCapacity. + + Value defines how much of a certain capacity that device has. This field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value. # noqa: E501 + + :param value: The value of this V1DeviceCapacity. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and value is None: # noqa: E501 + raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceCapacity): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceCapacity): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_claim.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_claim.py new file mode 100644 index 0000000000000000000000000000000000000000..426704d6bbaa0236c64624e7e1b0a9a2c6cce0c6 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_claim.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClaim(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1DeviceClaimConfiguration]', + 'constraints': 'list[V1DeviceConstraint]', + 'requests': 'list[V1DeviceRequest]' + } + + attribute_map = { + 'config': 'config', + 'constraints': 'constraints', + 'requests': 'requests' + } + + def __init__(self, config=None, constraints=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClaim - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._constraints = None + self._requests = None + self.discriminator = None + + if config is not None: + self.config = config + if constraints is not None: + self.constraints = constraints + if requests is not None: + self.requests = requests + + @property + def config(self): + """Gets the config of this V1DeviceClaim. # noqa: E501 + + This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. # noqa: E501 + + :return: The config of this V1DeviceClaim. # noqa: E501 + :rtype: list[V1DeviceClaimConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1DeviceClaim. + + This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. # noqa: E501 + + :param config: The config of this V1DeviceClaim. # noqa: E501 + :type: list[V1DeviceClaimConfiguration] + """ + + self._config = config + + @property + def constraints(self): + """Gets the constraints of this V1DeviceClaim. # noqa: E501 + + These constraints must be satisfied by the set of devices that get allocated for the claim. # noqa: E501 + + :return: The constraints of this V1DeviceClaim. # noqa: E501 + :rtype: list[V1DeviceConstraint] + """ + return self._constraints + + @constraints.setter + def constraints(self, constraints): + """Sets the constraints of this V1DeviceClaim. + + These constraints must be satisfied by the set of devices that get allocated for the claim. # noqa: E501 + + :param constraints: The constraints of this V1DeviceClaim. # noqa: E501 + :type: list[V1DeviceConstraint] + """ + + self._constraints = constraints + + @property + def requests(self): + """Gets the requests of this V1DeviceClaim. # noqa: E501 + + Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. # noqa: E501 + + :return: The requests of this V1DeviceClaim. # noqa: E501 + :rtype: list[V1DeviceRequest] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1DeviceClaim. + + Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. # noqa: E501 + + :param requests: The requests of this V1DeviceClaim. # noqa: E501 + :type: list[V1DeviceRequest] + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceClaim): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceClaim): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_claim_configuration.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_claim_configuration.py new file mode 100644 index 0000000000000000000000000000000000000000..01f0bf05e513c5e720772f142a96f93b80c5f1e6 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_claim_configuration.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClaimConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'opaque': 'V1OpaqueDeviceConfiguration', + 'requests': 'list[str]' + } + + attribute_map = { + 'opaque': 'opaque', + 'requests': 'requests' + } + + def __init__(self, opaque=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClaimConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._opaque = None + self._requests = None + self.discriminator = None + + if opaque is not None: + self.opaque = opaque + if requests is not None: + self.requests = requests + + @property + def opaque(self): + """Gets the opaque of this V1DeviceClaimConfiguration. # noqa: E501 + + + :return: The opaque of this V1DeviceClaimConfiguration. # noqa: E501 + :rtype: V1OpaqueDeviceConfiguration + """ + return self._opaque + + @opaque.setter + def opaque(self, opaque): + """Sets the opaque of this V1DeviceClaimConfiguration. + + + :param opaque: The opaque of this V1DeviceClaimConfiguration. # noqa: E501 + :type: V1OpaqueDeviceConfiguration + """ + + self._opaque = opaque + + @property + def requests(self): + """Gets the requests of this V1DeviceClaimConfiguration. # noqa: E501 + + Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 + + :return: The requests of this V1DeviceClaimConfiguration. # noqa: E501 + :rtype: list[str] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1DeviceClaimConfiguration. + + Requests lists the names of requests where the configuration applies. If empty, it applies to all requests. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the configuration applies to all subrequests. # noqa: E501 + + :param requests: The requests of this V1DeviceClaimConfiguration. # noqa: E501 + :type: list[str] + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceClaimConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceClaimConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class.py new file mode 100644 index 0000000000000000000000000000000000000000..89fcc6ace62285ea526a8537cf9a9008e89afb88 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClass(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1DeviceClassSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClass - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1DeviceClass. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1DeviceClass. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1DeviceClass. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1DeviceClass. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1DeviceClass. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1DeviceClass. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1DeviceClass. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1DeviceClass. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1DeviceClass. # noqa: E501 + + + :return: The metadata of this V1DeviceClass. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1DeviceClass. + + + :param metadata: The metadata of this V1DeviceClass. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1DeviceClass. # noqa: E501 + + + :return: The spec of this V1DeviceClass. # noqa: E501 + :rtype: V1DeviceClassSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1DeviceClass. + + + :param spec: The spec of this V1DeviceClass. # noqa: E501 + :type: V1DeviceClassSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceClass): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceClass): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_configuration.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_configuration.py new file mode 100644 index 0000000000000000000000000000000000000000..92f95a3593ae6938e21f1bc95ad1056158d7d6cc --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_configuration.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClassConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'opaque': 'V1OpaqueDeviceConfiguration' + } + + attribute_map = { + 'opaque': 'opaque' + } + + def __init__(self, opaque=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClassConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._opaque = None + self.discriminator = None + + if opaque is not None: + self.opaque = opaque + + @property + def opaque(self): + """Gets the opaque of this V1DeviceClassConfiguration. # noqa: E501 + + + :return: The opaque of this V1DeviceClassConfiguration. # noqa: E501 + :rtype: V1OpaqueDeviceConfiguration + """ + return self._opaque + + @opaque.setter + def opaque(self, opaque): + """Sets the opaque of this V1DeviceClassConfiguration. + + + :param opaque: The opaque of this V1DeviceClassConfiguration. # noqa: E501 + :type: V1OpaqueDeviceConfiguration + """ + + self._opaque = opaque + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceClassConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceClassConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_list.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_list.py new file mode 100644 index 0000000000000000000000000000000000000000..4aea924f89c9c865cb97e71d0b1aa500e58be496 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClassList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1DeviceClass]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClassList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1DeviceClassList. # noqa: E501 + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1DeviceClassList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1DeviceClassList. + + APIVersion defines the versioned 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1DeviceClassList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1DeviceClassList. # noqa: E501 + + Items is the list of resource classes. # noqa: E501 + + :return: The items of this V1DeviceClassList. # noqa: E501 + :rtype: list[V1DeviceClass] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1DeviceClassList. + + Items is the list of resource classes. # noqa: E501 + + :param items: The items of this V1DeviceClassList. # noqa: E501 + :type: list[V1DeviceClass] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1DeviceClassList. # noqa: E501 + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1DeviceClassList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1DeviceClassList. + + Kind is a string value representing the 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1DeviceClassList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1DeviceClassList. # noqa: E501 + + + :return: The metadata of this V1DeviceClassList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1DeviceClassList. + + + :param metadata: The metadata of this V1DeviceClassList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceClassList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceClassList): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_spec.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..221d484f14b47338e8347cc19848ca546553f610 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_class_spec.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceClassSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'config': 'list[V1DeviceClassConfiguration]', + 'extended_resource_name': 'str', + 'selectors': 'list[V1DeviceSelector]' + } + + attribute_map = { + 'config': 'config', + 'extended_resource_name': 'extendedResourceName', + 'selectors': 'selectors' + } + + def __init__(self, config=None, extended_resource_name=None, selectors=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceClassSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._config = None + self._extended_resource_name = None + self._selectors = None + self.discriminator = None + + if config is not None: + self.config = config + if extended_resource_name is not None: + self.extended_resource_name = extended_resource_name + if selectors is not None: + self.selectors = selectors + + @property + def config(self): + """Gets the config of this V1DeviceClassSpec. # noqa: E501 + + Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. # noqa: E501 + + :return: The config of this V1DeviceClassSpec. # noqa: E501 + :rtype: list[V1DeviceClassConfiguration] + """ + return self._config + + @config.setter + def config(self, config): + """Sets the config of this V1DeviceClassSpec. + + Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim. # noqa: E501 + + :param config: The config of this V1DeviceClassSpec. # noqa: E501 + :type: list[V1DeviceClassConfiguration] + """ + + self._config = config + + @property + def extended_resource_name(self): + """Gets the extended_resource_name of this V1DeviceClassSpec. # noqa: E501 + + ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked. This is an alpha field. # noqa: E501 + + :return: The extended_resource_name of this V1DeviceClassSpec. # noqa: E501 + :rtype: str + """ + return self._extended_resource_name + + @extended_resource_name.setter + def extended_resource_name(self, extended_resource_name): + """Sets the extended_resource_name of this V1DeviceClassSpec. + + ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked. This is an alpha field. # noqa: E501 + + :param extended_resource_name: The extended_resource_name of this V1DeviceClassSpec. # noqa: E501 + :type: str + """ + + self._extended_resource_name = extended_resource_name + + @property + def selectors(self): + """Gets the selectors of this V1DeviceClassSpec. # noqa: E501 + + Each selector must be satisfied by a device which is claimed via this class. # noqa: E501 + + :return: The selectors of this V1DeviceClassSpec. # noqa: E501 + :rtype: list[V1DeviceSelector] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """Sets the selectors of this V1DeviceClassSpec. + + Each selector must be satisfied by a device which is claimed via this class. # noqa: E501 + + :param selectors: The selectors of this V1DeviceClassSpec. # noqa: E501 + :type: list[V1DeviceSelector] + """ + + self._selectors = selectors + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceClassSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceClassSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_constraint.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_constraint.py new file mode 100644 index 0000000000000000000000000000000000000000..8ab882c32fd37a75e2c26f57cde0d13aa85e4295 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_constraint.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceConstraint(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'distinct_attribute': 'str', + 'match_attribute': 'str', + 'requests': 'list[str]' + } + + attribute_map = { + 'distinct_attribute': 'distinctAttribute', + 'match_attribute': 'matchAttribute', + 'requests': 'requests' + } + + def __init__(self, distinct_attribute=None, match_attribute=None, requests=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceConstraint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._distinct_attribute = None + self._match_attribute = None + self._requests = None + self.discriminator = None + + if distinct_attribute is not None: + self.distinct_attribute = distinct_attribute + if match_attribute is not None: + self.match_attribute = match_attribute + if requests is not None: + self.requests = requests + + @property + def distinct_attribute(self): + """Gets the distinct_attribute of this V1DeviceConstraint. # noqa: E501 + + DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. This is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs. # noqa: E501 + + :return: The distinct_attribute of this V1DeviceConstraint. # noqa: E501 + :rtype: str + """ + return self._distinct_attribute + + @distinct_attribute.setter + def distinct_attribute(self, distinct_attribute): + """Sets the distinct_attribute of this V1DeviceConstraint. + + DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices. This acts as the inverse of MatchAttribute. This constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation. This is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs. # noqa: E501 + + :param distinct_attribute: The distinct_attribute of this V1DeviceConstraint. # noqa: E501 + :type: str + """ + + self._distinct_attribute = distinct_attribute + + @property + def match_attribute(self): + """Gets the match_attribute of this V1DeviceConstraint. # noqa: E501 + + MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. # noqa: E501 + + :return: The match_attribute of this V1DeviceConstraint. # noqa: E501 + :rtype: str + """ + return self._match_attribute + + @match_attribute.setter + def match_attribute(self, match_attribute): + """Sets the match_attribute of this V1DeviceConstraint. + + MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices. For example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen. Must include the domain qualifier. # noqa: E501 + + :param match_attribute: The match_attribute of this V1DeviceConstraint. # noqa: E501 + :type: str + """ + + self._match_attribute = match_attribute + + @property + def requests(self): + """Gets the requests of this V1DeviceConstraint. # noqa: E501 + + Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the constraint applies to all subrequests. # noqa: E501 + + :return: The requests of this V1DeviceConstraint. # noqa: E501 + :rtype: list[str] + """ + return self._requests + + @requests.setter + def requests(self, requests): + """Sets the requests of this V1DeviceConstraint. + + Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim. References to subrequests must include the name of the main request and may include the subrequest using the format
[/]. If just the main request is given, the constraint applies to all subrequests. # noqa: E501 + + :param requests: The requests of this V1DeviceConstraint. # noqa: E501 + :type: list[str] + """ + + self._requests = requests + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceConstraint): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceConstraint): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_counter_consumption.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_counter_consumption.py new file mode 100644 index 0000000000000000000000000000000000000000..83db4e7757b8c229c6e75b3db9418548e9d03114 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_counter_consumption.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceCounterConsumption(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'counter_set': 'str', + 'counters': 'dict(str, V1Counter)' + } + + attribute_map = { + 'counter_set': 'counterSet', + 'counters': 'counters' + } + + def __init__(self, counter_set=None, counters=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceCounterConsumption - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._counter_set = None + self._counters = None + self.discriminator = None + + self.counter_set = counter_set + self.counters = counters + + @property + def counter_set(self): + """Gets the counter_set of this V1DeviceCounterConsumption. # noqa: E501 + + CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 + + :return: The counter_set of this V1DeviceCounterConsumption. # noqa: E501 + :rtype: str + """ + return self._counter_set + + @counter_set.setter + def counter_set(self, counter_set): + """Sets the counter_set of this V1DeviceCounterConsumption. + + CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501 + + :param counter_set: The counter_set of this V1DeviceCounterConsumption. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and counter_set is None: # noqa: E501 + raise ValueError("Invalid value for `counter_set`, must not be `None`") # noqa: E501 + + self._counter_set = counter_set + + @property + def counters(self): + """Gets the counters of this V1DeviceCounterConsumption. # noqa: E501 + + Counters defines the counters that will be consumed by the device. The maximum number of counters is 32. # noqa: E501 + + :return: The counters of this V1DeviceCounterConsumption. # noqa: E501 + :rtype: dict(str, V1Counter) + """ + return self._counters + + @counters.setter + def counters(self, counters): + """Sets the counters of this V1DeviceCounterConsumption. + + Counters defines the counters that will be consumed by the device. The maximum number of counters is 32. # noqa: E501 + + :param counters: The counters of this V1DeviceCounterConsumption. # noqa: E501 + :type: dict(str, V1Counter) + """ + if self.local_vars_configuration.client_side_validation and counters is None: # noqa: E501 + raise ValueError("Invalid value for `counters`, must not be `None`") # noqa: E501 + + self._counters = counters + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceCounterConsumption): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceCounterConsumption): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_request.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_request.py new file mode 100644 index 0000000000000000000000000000000000000000..e9937cb2b190e9eb0854d89111402a6ac46adbf6 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_request.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'exactly': 'V1ExactDeviceRequest', + 'first_available': 'list[V1DeviceSubRequest]', + 'name': 'str' + } + + attribute_map = { + 'exactly': 'exactly', + 'first_available': 'firstAvailable', + 'name': 'name' + } + + def __init__(self, exactly=None, first_available=None, name=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._exactly = None + self._first_available = None + self._name = None + self.discriminator = None + + if exactly is not None: + self.exactly = exactly + if first_available is not None: + self.first_available = first_available + self.name = name + + @property + def exactly(self): + """Gets the exactly of this V1DeviceRequest. # noqa: E501 + + + :return: The exactly of this V1DeviceRequest. # noqa: E501 + :rtype: V1ExactDeviceRequest + """ + return self._exactly + + @exactly.setter + def exactly(self, exactly): + """Sets the exactly of this V1DeviceRequest. + + + :param exactly: The exactly of this V1DeviceRequest. # noqa: E501 + :type: V1ExactDeviceRequest + """ + + self._exactly = exactly + + @property + def first_available(self): + """Gets the first_available of this V1DeviceRequest. # noqa: E501 + + FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later. # noqa: E501 + + :return: The first_available of this V1DeviceRequest. # noqa: E501 + :rtype: list[V1DeviceSubRequest] + """ + return self._first_available + + @first_available.setter + def first_available(self, first_available): + """Sets the first_available of this V1DeviceRequest. + + FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used. DRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later. # noqa: E501 + + :param first_available: The first_available of this V1DeviceRequest. # noqa: E501 + :type: list[V1DeviceSubRequest] + """ + + self._first_available = first_available + + @property + def name(self): + """Gets the name of this V1DeviceRequest. # noqa: E501 + + Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. Must be a DNS label. # noqa: E501 + + :return: The name of this V1DeviceRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1DeviceRequest. + + Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim. References using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler. Must be a DNS label. # noqa: E501 + + :param name: The name of this V1DeviceRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_request_allocation_result.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_request_allocation_result.py new file mode 100644 index 0000000000000000000000000000000000000000..6f6372487342d9f6e692aa16517434b6e04f922a --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_request_allocation_result.py @@ -0,0 +1,378 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceRequestAllocationResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'admin_access': 'bool', + 'binding_conditions': 'list[str]', + 'binding_failure_conditions': 'list[str]', + 'consumed_capacity': 'dict(str, str)', + 'device': 'str', + 'driver': 'str', + 'pool': 'str', + 'request': 'str', + 'share_id': 'str', + 'tolerations': 'list[V1DeviceToleration]' + } + + attribute_map = { + 'admin_access': 'adminAccess', + 'binding_conditions': 'bindingConditions', + 'binding_failure_conditions': 'bindingFailureConditions', + 'consumed_capacity': 'consumedCapacity', + 'device': 'device', + 'driver': 'driver', + 'pool': 'pool', + 'request': 'request', + 'share_id': 'shareID', + 'tolerations': 'tolerations' + } + + def __init__(self, admin_access=None, binding_conditions=None, binding_failure_conditions=None, consumed_capacity=None, device=None, driver=None, pool=None, request=None, share_id=None, tolerations=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceRequestAllocationResult - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._admin_access = None + self._binding_conditions = None + self._binding_failure_conditions = None + self._consumed_capacity = None + self._device = None + self._driver = None + self._pool = None + self._request = None + self._share_id = None + self._tolerations = None + self.discriminator = None + + if admin_access is not None: + self.admin_access = admin_access + if binding_conditions is not None: + self.binding_conditions = binding_conditions + if binding_failure_conditions is not None: + self.binding_failure_conditions = binding_failure_conditions + if consumed_capacity is not None: + self.consumed_capacity = consumed_capacity + self.device = device + self.driver = driver + self.pool = pool + self.request = request + if share_id is not None: + self.share_id = share_id + if tolerations is not None: + self.tolerations = tolerations + + @property + def admin_access(self): + """Gets the admin_access of this V1DeviceRequestAllocationResult. # noqa: E501 + + AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. # noqa: E501 + + :return: The admin_access of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: bool + """ + return self._admin_access + + @admin_access.setter + def admin_access(self, admin_access): + """Sets the admin_access of this V1DeviceRequestAllocationResult. + + AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled. # noqa: E501 + + :param admin_access: The admin_access of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: bool + """ + + self._admin_access = admin_access + + @property + def binding_conditions(self): + """Gets the binding_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + + BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: list[str] + """ + return self._binding_conditions + + @binding_conditions.setter + def binding_conditions(self, binding_conditions): + """Sets the binding_conditions of this V1DeviceRequestAllocationResult. + + BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_conditions: The binding_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: list[str] + """ + + self._binding_conditions = binding_conditions + + @property + def binding_failure_conditions(self): + """Gets the binding_failure_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + + BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :return: The binding_failure_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: list[str] + """ + return self._binding_failure_conditions + + @binding_failure_conditions.setter + def binding_failure_conditions(self, binding_failure_conditions): + """Sets the binding_failure_conditions of this V1DeviceRequestAllocationResult. + + BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation. This is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates. # noqa: E501 + + :param binding_failure_conditions: The binding_failure_conditions of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: list[str] + """ + + self._binding_failure_conditions = binding_failure_conditions + + @property + def consumed_capacity(self): + """Gets the consumed_capacity of this V1DeviceRequestAllocationResult. # noqa: E501 + + ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. # noqa: E501 + + :return: The consumed_capacity of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: dict(str, str) + """ + return self._consumed_capacity + + @consumed_capacity.setter + def consumed_capacity(self, consumed_capacity): + """Sets the consumed_capacity of this V1DeviceRequestAllocationResult. + + ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device’s requestPolicy if applicable (i.e., may not be less than the requested amount). The total consumed capacity for each device must not exceed the DeviceCapacity's Value. This field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero. # noqa: E501 + + :param consumed_capacity: The consumed_capacity of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: dict(str, str) + """ + + self._consumed_capacity = consumed_capacity + + @property + def device(self): + """Gets the device of this V1DeviceRequestAllocationResult. # noqa: E501 + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :return: The device of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._device + + @device.setter + def device(self, device): + """Sets the device of this V1DeviceRequestAllocationResult. + + Device references one device instance via its name in the driver's resource pool. It must be a DNS label. # noqa: E501 + + :param device: The device of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device is None: # noqa: E501 + raise ValueError("Invalid value for `device`, must not be `None`") # noqa: E501 + + self._device = device + + @property + def driver(self): + """Gets the driver of this V1DeviceRequestAllocationResult. # noqa: E501 + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 + + :return: The driver of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """Sets the driver of this V1DeviceRequestAllocationResult. + + Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters. # noqa: E501 + + :param driver: The driver of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and driver is None: # noqa: E501 + raise ValueError("Invalid value for `driver`, must not be `None`") # noqa: E501 + + self._driver = driver + + @property + def pool(self): + """Gets the pool of this V1DeviceRequestAllocationResult. # noqa: E501 + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :return: The pool of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._pool + + @pool.setter + def pool(self, pool): + """Sets the pool of this V1DeviceRequestAllocationResult. + + This name together with the driver name and the device name field identify which device was allocated (`//`). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes. # noqa: E501 + + :param pool: The pool of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and pool is None: # noqa: E501 + raise ValueError("Invalid value for `pool`, must not be `None`") # noqa: E501 + + self._pool = pool + + @property + def request(self): + """Gets the request of this V1DeviceRequestAllocationResult. # noqa: E501 + + Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format
/. Multiple devices may have been allocated per request. # noqa: E501 + + :return: The request of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._request + + @request.setter + def request(self, request): + """Sets the request of this V1DeviceRequestAllocationResult. + + Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format
/. Multiple devices may have been allocated per request. # noqa: E501 + + :param request: The request of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and request is None: # noqa: E501 + raise ValueError("Invalid value for `request`, must not be `None`") # noqa: E501 + + self._request = request + + @property + def share_id(self): + """Gets the share_id of this V1DeviceRequestAllocationResult. # noqa: E501 + + ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device. # noqa: E501 + + :return: The share_id of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: str + """ + return self._share_id + + @share_id.setter + def share_id(self, share_id): + """Sets the share_id of this V1DeviceRequestAllocationResult. + + ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device. # noqa: E501 + + :param share_id: The share_id of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: str + """ + + self._share_id = share_id + + @property + def tolerations(self): + """Gets the tolerations of this V1DeviceRequestAllocationResult. # noqa: E501 + + A copy of all tolerations specified in the request at the time when the device got allocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The tolerations of this V1DeviceRequestAllocationResult. # noqa: E501 + :rtype: list[V1DeviceToleration] + """ + return self._tolerations + + @tolerations.setter + def tolerations(self, tolerations): + """Sets the tolerations of this V1DeviceRequestAllocationResult. + + A copy of all tolerations specified in the request at the time when the device got allocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param tolerations: The tolerations of this V1DeviceRequestAllocationResult. # noqa: E501 + :type: list[V1DeviceToleration] + """ + + self._tolerations = tolerations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceRequestAllocationResult): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceRequestAllocationResult): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_selector.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_selector.py new file mode 100644 index 0000000000000000000000000000000000000000..32e57d134906bef73b2dc049d203f40dc1860f01 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_selector.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceSelector(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'cel': 'V1CELDeviceSelector' + } + + attribute_map = { + 'cel': 'cel' + } + + def __init__(self, cel=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceSelector - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._cel = None + self.discriminator = None + + if cel is not None: + self.cel = cel + + @property + def cel(self): + """Gets the cel of this V1DeviceSelector. # noqa: E501 + + + :return: The cel of this V1DeviceSelector. # noqa: E501 + :rtype: V1CELDeviceSelector + """ + return self._cel + + @cel.setter + def cel(self, cel): + """Sets the cel of this V1DeviceSelector. + + + :param cel: The cel of this V1DeviceSelector. # noqa: E501 + :type: V1CELDeviceSelector + """ + + self._cel = cel + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceSelector): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceSelector): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_sub_request.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_sub_request.py new file mode 100644 index 0000000000000000000000000000000000000000..c038aeb1bfc6fd27356b4ca2398b383f0fcd1050 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_sub_request.py @@ -0,0 +1,290 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceSubRequest(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'allocation_mode': 'str', + 'capacity': 'V1CapacityRequirements', + 'count': 'int', + 'device_class_name': 'str', + 'name': 'str', + 'selectors': 'list[V1DeviceSelector]', + 'tolerations': 'list[V1DeviceToleration]' + } + + attribute_map = { + 'allocation_mode': 'allocationMode', + 'capacity': 'capacity', + 'count': 'count', + 'device_class_name': 'deviceClassName', + 'name': 'name', + 'selectors': 'selectors', + 'tolerations': 'tolerations' + } + + def __init__(self, allocation_mode=None, capacity=None, count=None, device_class_name=None, name=None, selectors=None, tolerations=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceSubRequest - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._allocation_mode = None + self._capacity = None + self._count = None + self._device_class_name = None + self._name = None + self._selectors = None + self._tolerations = None + self.discriminator = None + + if allocation_mode is not None: + self.allocation_mode = allocation_mode + if capacity is not None: + self.capacity = capacity + if count is not None: + self.count = count + self.device_class_name = device_class_name + self.name = name + if selectors is not None: + self.selectors = selectors + if tolerations is not None: + self.tolerations = tolerations + + @property + def allocation_mode(self): + """Gets the allocation_mode of this V1DeviceSubRequest. # noqa: E501 + + AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. # noqa: E501 + + :return: The allocation_mode of this V1DeviceSubRequest. # noqa: E501 + :rtype: str + """ + return self._allocation_mode + + @allocation_mode.setter + def allocation_mode(self, allocation_mode): + """Sets the allocation_mode of this V1DeviceSubRequest. + + AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are: - ExactCount: This request is for a specific number of devices. This is the default. The exact number is provided in the count field. - All: This subrequest is for all of the matching devices in a pool. Allocation will fail if some devices are already allocated, unless adminAccess is requested. If AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field. More modes may get added in the future. Clients must refuse to handle requests with unknown modes. # noqa: E501 + + :param allocation_mode: The allocation_mode of this V1DeviceSubRequest. # noqa: E501 + :type: str + """ + + self._allocation_mode = allocation_mode + + @property + def capacity(self): + """Gets the capacity of this V1DeviceSubRequest. # noqa: E501 + + + :return: The capacity of this V1DeviceSubRequest. # noqa: E501 + :rtype: V1CapacityRequirements + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this V1DeviceSubRequest. + + + :param capacity: The capacity of this V1DeviceSubRequest. # noqa: E501 + :type: V1CapacityRequirements + """ + + self._capacity = capacity + + @property + def count(self): + """Gets the count of this V1DeviceSubRequest. # noqa: E501 + + Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one. # noqa: E501 + + :return: The count of this V1DeviceSubRequest. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this V1DeviceSubRequest. + + Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one. # noqa: E501 + + :param count: The count of this V1DeviceSubRequest. # noqa: E501 + :type: int + """ + + self._count = count + + @property + def device_class_name(self): + """Gets the device_class_name of this V1DeviceSubRequest. # noqa: E501 + + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. # noqa: E501 + + :return: The device_class_name of this V1DeviceSubRequest. # noqa: E501 + :rtype: str + """ + return self._device_class_name + + @device_class_name.setter + def device_class_name(self, device_class_name): + """Sets the device_class_name of this V1DeviceSubRequest. + + DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest. A class is required. Which classes are available depends on the cluster. Administrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference. # noqa: E501 + + :param device_class_name: The device_class_name of this V1DeviceSubRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and device_class_name is None: # noqa: E501 + raise ValueError("Invalid value for `device_class_name`, must not be `None`") # noqa: E501 + + self._device_class_name = device_class_name + + @property + def name(self): + """Gets the name of this V1DeviceSubRequest. # noqa: E501 + + Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format
/. Must be a DNS label. # noqa: E501 + + :return: The name of this V1DeviceSubRequest. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1DeviceSubRequest. + + Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format
/. Must be a DNS label. # noqa: E501 + + :param name: The name of this V1DeviceSubRequest. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def selectors(self): + """Gets the selectors of this V1DeviceSubRequest. # noqa: E501 + + Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered. # noqa: E501 + + :return: The selectors of this V1DeviceSubRequest. # noqa: E501 + :rtype: list[V1DeviceSelector] + """ + return self._selectors + + @selectors.setter + def selectors(self, selectors): + """Sets the selectors of this V1DeviceSubRequest. + + Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered. # noqa: E501 + + :param selectors: The selectors of this V1DeviceSubRequest. # noqa: E501 + :type: list[V1DeviceSelector] + """ + + self._selectors = selectors + + @property + def tolerations(self): + """Gets the tolerations of this V1DeviceSubRequest. # noqa: E501 + + If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :return: The tolerations of this V1DeviceSubRequest. # noqa: E501 + :rtype: list[V1DeviceToleration] + """ + return self._tolerations + + @tolerations.setter + def tolerations(self, tolerations): + """Sets the tolerations of this V1DeviceSubRequest. + + If specified, the request's tolerations. Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute. In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated. The maximum number of tolerations is 16. This is an alpha field and requires enabling the DRADeviceTaints feature gate. # noqa: E501 + + :param tolerations: The tolerations of this V1DeviceSubRequest. # noqa: E501 + :type: list[V1DeviceToleration] + """ + + self._tolerations = tolerations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceSubRequest): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceSubRequest): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_taint.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_taint.py new file mode 100644 index 0000000000000000000000000000000000000000..a8e242cbed3c7bf9f282eea25ac5784a27798f95 --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_taint.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceTaint(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'effect': 'str', + 'key': 'str', + 'time_added': 'datetime', + 'value': 'str' + } + + attribute_map = { + 'effect': 'effect', + 'key': 'key', + 'time_added': 'timeAdded', + 'value': 'value' + } + + def __init__(self, effect=None, key=None, time_added=None, value=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceTaint - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._effect = None + self._key = None + self._time_added = None + self._value = None + self.discriminator = None + + self.effect = effect + self.key = key + if time_added is not None: + self.time_added = time_added + if value is not None: + self.value = value + + @property + def effect(self): + """Gets the effect of this V1DeviceTaint. # noqa: E501 + + The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are None, NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. More effects may get added in the future. Consumers must treat unknown effects like None. # noqa: E501 + + :return: The effect of this V1DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._effect + + @effect.setter + def effect(self, effect): + """Sets the effect of this V1DeviceTaint. + + The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are None, NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. More effects may get added in the future. Consumers must treat unknown effects like None. # noqa: E501 + + :param effect: The effect of this V1DeviceTaint. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and effect is None: # noqa: E501 + raise ValueError("Invalid value for `effect`, must not be `None`") # noqa: E501 + + self._effect = effect + + @property + def key(self): + """Gets the key of this V1DeviceTaint. # noqa: E501 + + The taint key to be applied to a device. Must be a label name. # noqa: E501 + + :return: The key of this V1DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1DeviceTaint. + + The taint key to be applied to a device. Must be a label name. # noqa: E501 + + :param key: The key of this V1DeviceTaint. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and key is None: # noqa: E501 + raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 + + self._key = key + + @property + def time_added(self): + """Gets the time_added of this V1DeviceTaint. # noqa: E501 + + TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set. # noqa: E501 + + :return: The time_added of this V1DeviceTaint. # noqa: E501 + :rtype: datetime + """ + return self._time_added + + @time_added.setter + def time_added(self, time_added): + """Sets the time_added of this V1DeviceTaint. + + TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set. # noqa: E501 + + :param time_added: The time_added of this V1DeviceTaint. # noqa: E501 + :type: datetime + """ + + self._time_added = time_added + + @property + def value(self): + """Gets the value of this V1DeviceTaint. # noqa: E501 + + The taint value corresponding to the taint key. Must be a label value. # noqa: E501 + + :return: The value of this V1DeviceTaint. # noqa: E501 + :rtype: str + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this V1DeviceTaint. + + The taint value corresponding to the taint key. Must be a label value. # noqa: E501 + + :param value: The value of this V1DeviceTaint. # noqa: E501 + :type: str + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_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 pprint.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, V1DeviceTaint): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1DeviceTaint): + return True + + return self.to_dict() != other.to_dict() diff --git a/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_toleration.py b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_toleration.py new file mode 100644 index 0000000000000000000000000000000000000000..a1ccaf802dd589d7cba7de19d442457b3bac443e --- /dev/null +++ b/micromamba_root/envs/pytorch_env/Lib/site-packages/kubernetes/client/models/v1_device_toleration.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.35 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1DeviceToleration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'effect': 'str', + 'key': 'str', + 'operator': 'str', + 'toleration_seconds': 'int', + 'value': 'str' + } + + attribute_map = { + 'effect': 'effect', + 'key': 'key', + 'operator': 'operator', + 'toleration_seconds': 'tolerationSeconds', + 'value': 'value' + } + + def __init__(self, effect=None, key=None, operator=None, toleration_seconds=None, value=None, local_vars_configuration=None): # noqa: E501 + """V1DeviceToleration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._effect = None + self._key = None + self._operator = None + self._toleration_seconds = None + self._value = None + self.discriminator = None + + if effect is not None: + self.effect = effect + if key is not None: + self.key = key + if operator is not None: + self.operator = operator + if toleration_seconds is not None: + self.toleration_seconds = toleration_seconds + if value is not None: + self.value = value + + @property + def effect(self): + """Gets the effect of this V1DeviceToleration. # noqa: E501 + + Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute. # noqa: E501 + + :return: The effect of this V1DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._effect + + @effect.setter + def effect(self, effect): + """Sets the effect of this V1DeviceToleration. + + Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute. # noqa: E501 + + :param effect: The effect of this V1DeviceToleration. # noqa: E501 + :type: str + """ + + self._effect = effect + + @property + def key(self): + """Gets the key of this V1DeviceToleration. # noqa: E501 + + Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name. # noqa: E501 + + :return: The key of this V1DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """Sets the key of this V1DeviceToleration. + + Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name. # noqa: E501 + + :param key: The key of this V1DeviceToleration. # noqa: E501 + :type: str + """ + + self._key = key + + @property + def operator(self): + """Gets the operator of this V1DeviceToleration. # noqa: E501 + + Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category. # noqa: E501 + + :return: The operator of this V1DeviceToleration. # noqa: E501 + :rtype: str + """ + return self._operator + + @operator.setter + def operator(self, operator): + """Sets the operator of this V1DeviceToleration. + + Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category. # noqa: E501 + + :param operator: The operator of this V1DeviceToleration. # noqa: E501 + :type: str + """ + + self._operator = operator + + @property + def toleration_seconds(self): + """Gets the toleration_seconds of this V1DeviceToleration. # noqa: E501 + + TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as