python の API リファレンス
python (kubernetes-client/python) の公開 API 400 件 —— クラス 168、関数 4、メソッド 228。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: kubernetes-client/python
| 種別 | 件数 |
|---|---|
| クラス | 168 |
| 関数 | 4 |
| メソッド | 228 |
API 一覧
class
kubernetes.aio.client.api_client.ApiClientGeneric API client for OpenAPI client library builds.
method
kubernetes.aio.client.api_client.ApiClient.files_parameters(files:Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]])Builds form parameters.
method
kubernetes.aio.client.api_client.ApiClient.user_agent()User agent for this API client
class
kubernetes.aio.client.api_response.ApiResponseAPI response object
method
kubernetes.aio.client.configuration.Configuration.auth_settings() -> AuthSettingsGets Auth Settings dict for api client.
method
kubernetes.aio.client.configuration.Configuration.get_api_key_with_prefix(identifier:str, alias:Optional[str]=None) -> Optional[str]Gets API key (with prefix if set).
method
kubernetes.aio.client.configuration.Configuration.host() -> strReturn generated host.
method
kubernetes.aio.client.configuration.Configuration.logger_file() -> Optional[str]The logger file.
method
kubernetes.aio.client.configuration.Configuration.logger_format() -> strThe logger format.
method
kubernetes.aio.client.configuration.Configuration.set_default(default:Optional[Self]) -> NoneStore a copy as the default configuration.
method
kubernetes.aio.client.configuration.Configuration.to_debug_report() -> strGets the essential information for debugging.
class
kubernetes.aio.client.exceptions.ConflictExceptionException for HTTP 409 Conflict.
class
kubernetes.aio.client.exceptions.OpenApiExceptionThe base exception class for all OpenAPIExceptions
class
kubernetes.aio.client.exceptions.UnprocessableEntityExceptionException for HTTP 422 Unprocessable Entity.
method
kubernetes.aio.client.models.core_v1_event.CoreV1Event.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of CoreV1Event from a dict
method
kubernetes.aio.client.models.core_v1_event.CoreV1Event.from_json(json_str:str) -> Optional[Self]Create an instance of CoreV1Event from a JSON string
method
kubernetes.aio.client.models.core_v1_event.CoreV1Event.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.core_v1_event_list.CoreV1EventListEventList is a list of events.
class
kubernetes.aio.client.models.events_v1_event_list.EventsV1EventListEventList is a list of Event objects.
class
kubernetes.aio.client.models.v1_affinity.V1AffinityAffinity is a group of affinity scheduling rules.
method
kubernetes.aio.client.models.v1_affinity.V1Affinity.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Affinity from a dict
method
kubernetes.aio.client.models.v1_affinity.V1Affinity.from_json(json_str:str) -> Optional[Self]Create an instance of V1Affinity from a JSON string
method
kubernetes.aio.client.models.v1_affinity.V1Affinity.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_api_service_list.V1APIServiceListAPIServiceList is a list of APIService objects.
method
kubernetes.aio.client.models.v1_config_map.V1ConfigMap.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ConfigMap from a dict
method
kubernetes.aio.client.models.v1_config_map.V1ConfigMap.from_json(json_str:str) -> Optional[Self]Create an instance of V1ConfigMap from a JSON string
method
kubernetes.aio.client.models.v1_config_map.V1ConfigMap.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_config_map_key_selector.V1ConfigMapKeySelectorSelects a key from a ConfigMap.
class
kubernetes.aio.client.models.v1_config_map_projection.V1ConfigMapProjectionAdapts a ConfigMap into a projected volume.
class
kubernetes.aio.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSourceAdapts a ConfigMap into a volume.
method
kubernetes.aio.client.models.v1_counter.V1Counter.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Counter from a dict
method
kubernetes.aio.client.models.v1_counter.V1Counter.from_json(json_str:str) -> Optional[Self]Create an instance of V1Counter from a JSON string
method
kubernetes.aio.client.models.v1_counter.V1Counter.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_cron_job_list.V1CronJobListCronJobList is a collection of cron jobs.
method
kubernetes.aio.client.models.v1_cron_job_list.V1CronJobList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1CronJobList from a dict
method
kubernetes.aio.client.models.v1_cron_job_list.V1CronJobList.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_csi_node_list.V1CSINodeListCSINodeList is a collection of CSINode objects.
method
kubernetes.aio.client.models.v1_csi_node_list.V1CSINodeList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1CSINodeList from a dict
method
kubernetes.aio.client.models.v1_csi_node_list.V1CSINodeList.to_str() -> strReturns the string representation of the model
method
kubernetes.aio.client.models.v1_daemon_set.V1DaemonSet.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1DaemonSet from a dict
method
kubernetes.aio.client.models.v1_daemon_set.V1DaemonSet.from_json(json_str:str) -> Optional[Self]Create an instance of V1DaemonSet from a JSON string
method
kubernetes.aio.client.models.v1_daemon_set.V1DaemonSet.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_daemon_set_list.V1DaemonSetListDaemonSetList is a collection of daemon sets.
class
kubernetes.aio.client.models.v1_deployment_list.V1DeploymentListDeploymentList is a list of Deployments.
class
kubernetes.aio.client.models.v1_device_class_list.V1DeviceClassListDeviceClassList is a collection of classes.
class
kubernetes.aio.client.models.v1_device_selector.V1DeviceSelectorDeviceSelector must have exactly one field set.
class
kubernetes.aio.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSourceRepresents an empty directory for a pod.
class
kubernetes.aio.client.models.v1_endpoints_list.V1EndpointsListEndpointsList is a list of endpoints.
class
kubernetes.aio.client.models.v1_event_source.V1EventSourceEventSource contains information for an event.
method
kubernetes.aio.client.models.v1_event_source.V1EventSource.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1EventSource from a dict
method
kubernetes.aio.client.models.v1_event_source.V1EventSource.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_exec_action.V1ExecActionExecAction describes a "run in container" action.
method
kubernetes.aio.client.models.v1_exec_action.V1ExecAction.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ExecAction from a dict
method
kubernetes.aio.client.models.v1_exec_action.V1ExecAction.from_json(json_str:str) -> Optional[Self]Create an instance of V1ExecAction from a JSON string
method
kubernetes.aio.client.models.v1_exec_action.V1ExecAction.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_fc_volume_source.V1FCVolumeSourceRepresents a Fibre Channel volume.
class
kubernetes.aio.client.models.v1_file_key_selector.V1FileKeySelectorFileKeySelector selects a key of the env file.
class
kubernetes.aio.client.models.v1_flow_schema.V1FlowSchemaFlowSchema defines the schema of a group of flows.
method
kubernetes.aio.client.models.v1_flow_schema.V1FlowSchema.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1FlowSchema from a dict
method
kubernetes.aio.client.models.v1_flow_schema.V1FlowSchema.from_json(json_str:str) -> Optional[Self]Create an instance of V1FlowSchema from a JSON string
method
kubernetes.aio.client.models.v1_flow_schema.V1FlowSchema.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_flow_schema_list.V1FlowSchemaListFlowSchemaList is a list of FlowSchema objects.
class
kubernetes.aio.client.models.v1_host_path_volume_source.V1HostPathVolumeSourceRepresents a host path mapped into a pod.
class
kubernetes.aio.client.models.v1_ingress_list.V1IngressListIngressList is a collection of Ingress.
method
kubernetes.aio.client.models.v1_ingress_list.V1IngressList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1IngressList from a dict
method
kubernetes.aio.client.models.v1_ingress_list.V1IngressList.to_str() -> strReturns the string representation of the model
method
kubernetes.aio.client.models.v1_ip_address.V1IPAddress.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1IPAddress from a dict
method
kubernetes.aio.client.models.v1_ip_address.V1IPAddress.from_json(json_str:str) -> Optional[Self]Create an instance of V1IPAddress from a JSON string
method
kubernetes.aio.client.models.v1_ip_address.V1IPAddress.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_ip_address_list.V1IPAddressListIPAddressList contains a list of IPAddress.
class
kubernetes.aio.client.models.v1_ip_block.V1IPBlockIPBlock describes a particular CIDR (Ex.
method
kubernetes.aio.client.models.v1_ip_block.V1IPBlock.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1IPBlock from a dict
method
kubernetes.aio.client.models.v1_ip_block.V1IPBlock.from_json(json_str:str) -> Optional[Self]Create an instance of V1IPBlock from a JSON string
method
kubernetes.aio.client.models.v1_ip_block.V1IPBlock.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSourceRepresents an ISCSI disk.
class
kubernetes.aio.client.models.v1_job.V1JobJob represents the configuration of a single job.
method
kubernetes.aio.client.models.v1_job.V1Job.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Job from a dict
method
kubernetes.aio.client.models.v1_job.V1Job.from_json(json_str:str) -> Optional[Self]Create an instance of V1Job from a JSON string
method
kubernetes.aio.client.models.v1_job.V1Job.to_dict(serialize:bool=False) -> Dict[str, Any]Return all declared model fields using public or wire names.
method
kubernetes.aio.client.models.v1_job.V1Job.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_job_condition.V1JobConditionJobCondition describes current state of a job.
method
kubernetes.aio.client.models.v1_job_condition.V1JobCondition.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobCondition from a dict
class
kubernetes.aio.client.models.v1_job_list.V1JobListJobList is a collection of jobs.
method
kubernetes.aio.client.models.v1_job_list.V1JobList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobList from a dict
method
kubernetes.aio.client.models.v1_job_list.V1JobList.from_json(json_str:str) -> Optional[Self]Create an instance of V1JobList from a JSON string
method
kubernetes.aio.client.models.v1_job_list.V1JobList.to_str() -> strReturns the string representation of the model
method
kubernetes.aio.client.models.v1_job_spec.V1JobSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobSpec from a dict
method
kubernetes.aio.client.models.v1_job_spec.V1JobSpec.from_json(json_str:str) -> Optional[Self]Create an instance of V1JobSpec from a JSON string
method
kubernetes.aio.client.models.v1_job_spec.V1JobSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_job_status.V1JobStatusJobStatus represents the current state of a Job.
method
kubernetes.aio.client.models.v1_job_status.V1JobStatus.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobStatus from a dict
method
kubernetes.aio.client.models.v1_job_status.V1JobStatus.from_json(json_str:str) -> Optional[Self]Create an instance of V1JobStatus from a JSON string
method
kubernetes.aio.client.models.v1_job_status.V1JobStatus.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_json_patch.V1JSONPatchJSONPatch defines a JSON Patch.
method
kubernetes.aio.client.models.v1_json_patch.V1JSONPatch.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JSONPatch from a dict
method
kubernetes.aio.client.models.v1_json_patch.V1JSONPatch.from_json(json_str:str) -> Optional[Self]Create an instance of V1JSONPatch from a JSON string
method
kubernetes.aio.client.models.v1_json_patch.V1JSONPatch.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_key_to_path.V1KeyToPathMaps a string key to a path within a volume.
method
kubernetes.aio.client.models.v1_key_to_path.V1KeyToPath.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1KeyToPath from a dict
method
kubernetes.aio.client.models.v1_key_to_path.V1KeyToPath.from_json(json_str:str) -> Optional[Self]Create an instance of V1KeyToPath from a JSON string
method
kubernetes.aio.client.models.v1_key_to_path.V1KeyToPath.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_lease.V1LeaseLease defines a lease concept.
method
kubernetes.aio.client.models.v1_lease.V1Lease.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Lease from a dict
method
kubernetes.aio.client.models.v1_lease.V1Lease.from_json(json_str:str) -> Optional[Self]Create an instance of V1Lease from a JSON string
method
kubernetes.aio.client.models.v1_lease.V1Lease.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_lease_list.V1LeaseListLeaseList is a list of Lease objects.
method
kubernetes.aio.client.models.v1_lease_list.V1LeaseList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1LeaseList from a dict
method
kubernetes.aio.client.models.v1_lease_list.V1LeaseList.from_json(json_str:str) -> Optional[Self]Create an instance of V1LeaseList from a JSON string
method
kubernetes.aio.client.models.v1_lease_list.V1LeaseList.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_lease_spec.V1LeaseSpecLeaseSpec is a specification of a Lease.
method
kubernetes.aio.client.models.v1_lease_spec.V1LeaseSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1LeaseSpec from a dict
method
kubernetes.aio.client.models.v1_lease_spec.V1LeaseSpec.from_json(json_str:str) -> Optional[Self]Create an instance of V1LeaseSpec from a JSON string
method
kubernetes.aio.client.models.v1_lease_spec.V1LeaseSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_limit_range_list.V1LimitRangeListLimitRangeList is a list of LimitRange items.
class
kubernetes.aio.client.models.v1_namespace.V1NamespaceNamespace provides a scope for Names.
method
kubernetes.aio.client.models.v1_namespace.V1Namespace.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Namespace from a dict
method
kubernetes.aio.client.models.v1_namespace.V1Namespace.from_json(json_str:str) -> Optional[Self]Create an instance of V1Namespace from a JSON string
method
kubernetes.aio.client.models.v1_namespace.V1Namespace.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_namespace_list.V1NamespaceListNamespaceList is a list of Namespaces.
class
kubernetes.aio.client.models.v1_node.V1NodeNode is a worker node in Kubernetes.
method
kubernetes.aio.client.models.v1_node.V1Node.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Node from a dict
method
kubernetes.aio.client.models.v1_node.V1Node.from_json(json_str:str) -> Optional[Self]Create an instance of V1Node from a JSON string
method
kubernetes.aio.client.models.v1_node.V1Node.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_param_kind.V1ParamKindParamKind is a tuple of Group Kind and Version.
method
kubernetes.aio.client.models.v1_param_kind.V1ParamKind.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ParamKind from a dict
method
kubernetes.aio.client.models.v1_param_kind.V1ParamKind.from_json(json_str:str) -> Optional[Self]Create an instance of V1ParamKind from a JSON string
method
kubernetes.aio.client.models.v1_param_kind.V1ParamKind.to_str() -> strReturns the string representation of the model
method
kubernetes.aio.client.models.v1_pod.V1Pod.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Pod from a dict
method
kubernetes.aio.client.models.v1_pod.V1Pod.from_json(json_str:str) -> Optional[Self]Create an instance of V1Pod from a JSON string
method
kubernetes.aio.client.models.v1_pod.V1Pod.to_dict(serialize:bool=False) -> Dict[str, Any]Return all declared model fields using public or wire names.
method
kubernetes.aio.client.models.v1_pod.V1Pod.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_pod_list.V1PodListPodList is a list of Pods.
method
kubernetes.aio.client.models.v1_pod_list.V1PodList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1PodList from a dict
method
kubernetes.aio.client.models.v1_pod_list.V1PodList.from_json(json_str:str) -> Optional[Self]Create an instance of V1PodList from a JSON string
method
kubernetes.aio.client.models.v1_pod_list.V1PodList.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_pod_os.V1PodOSPodOS defines the OS parameters of a pod.
method
kubernetes.aio.client.models.v1_pod_os.V1PodOS.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1PodOS from a dict
method
kubernetes.aio.client.models.v1_pod_os.V1PodOS.from_json(json_str:str) -> Optional[Self]Create an instance of V1PodOS from a JSON string
method
kubernetes.aio.client.models.v1_pod_os.V1PodOS.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_pod_spec.V1PodSpecPodSpec is a description of a pod.
method
kubernetes.aio.client.models.v1_pod_spec.V1PodSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1PodSpec from a dict
method
kubernetes.aio.client.models.v1_pod_spec.V1PodSpec.from_json(json_str:str) -> Optional[Self]Create an instance of V1PodSpec from a JSON string
method
kubernetes.aio.client.models.v1_pod_spec.V1PodSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_pod_template_list.V1PodTemplateListPodTemplateList is a list of PodTemplates.
class
kubernetes.aio.client.models.v1_replica_set_list.V1ReplicaSetListReplicaSetList is a collection of ReplicaSets.
class
kubernetes.aio.client.models.v1_resource_claim_list.V1ResourceClaimListResourceClaimList is a collection of claims.
class
kubernetes.aio.client.models.v1_scale.V1ScaleScale represents a scaling request for a resource.
method
kubernetes.aio.client.models.v1_scale.V1Scale.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Scale from a dict
method
kubernetes.aio.client.models.v1_scale.V1Scale.from_json(json_str:str) -> Optional[Self]Create an instance of V1Scale from a JSON string
method
kubernetes.aio.client.models.v1_scale.V1Scale.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_secret.V1SecretSecret holds secret data of a certain type.
method
kubernetes.aio.client.models.v1_secret.V1Secret.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Secret from a dict
method
kubernetes.aio.client.models.v1_secret.V1Secret.from_json(json_str:str) -> Optional[Self]Create an instance of V1Secret from a JSON string
method
kubernetes.aio.client.models.v1_secret.V1Secret.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_secret_key_selector.V1SecretKeySelectorSecretKeySelector selects a key of a Secret.
class
kubernetes.aio.client.models.v1_secret_list.V1SecretListSecretList is a list of Secret.
method
kubernetes.aio.client.models.v1_secret_list.V1SecretList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1SecretList from a dict
method
kubernetes.aio.client.models.v1_secret_list.V1SecretList.from_json(json_str:str) -> Optional[Self]Create an instance of V1SecretList from a JSON string
method
kubernetes.aio.client.models.v1_secret_list.V1SecretList.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_secret_projection.V1SecretProjectionAdapts a secret into a projected volume.
class
kubernetes.aio.client.models.v1_secret_reference.V1SecretReferenceSecretReference represents a Secret Reference.
class
kubernetes.aio.client.models.v1_secret_volume_source.V1SecretVolumeSourceAdapts a Secret into a volume.
class
kubernetes.aio.client.models.v1_service_list.V1ServiceListServiceList holds a list of services.
method
kubernetes.aio.client.models.v1_service_list.V1ServiceList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ServiceList from a dict
method
kubernetes.aio.client.models.v1_service_list.V1ServiceList.to_str() -> strReturns the string representation of the model
method
kubernetes.aio.client.models.v1_service_port.V1ServicePort.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ServicePort from a dict
method
kubernetes.aio.client.models.v1_service_port.V1ServicePort.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1_sleep_action.V1SleepActionSleepAction describes a "sleep" action.
method
kubernetes.aio.client.models.v1_sleep_action.V1SleepAction.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1SleepAction from a dict
method
kubernetes.aio.client.models.v1_sleep_action.V1SleepAction.to_str() -> strReturns the string representation of the model
method
kubernetes.aio.client.models.v1_watch_event.V1WatchEvent.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1WatchEvent from a dict
method
kubernetes.aio.client.models.v1_watch_event.V1WatchEvent.from_json(json_str:str) -> Optional[Self]Create an instance of V1WatchEvent from a JSON string
method
kubernetes.aio.client.models.v1_watch_event.V1WatchEvent.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.client.models.v1alpha1_json_patch.V1alpha1JSONPatchJSONPatch defines a JSON Patch.
class
kubernetes.aio.client.models.v1alpha1_storage_version.V1alpha1StorageVersionStorage version of a specific resource.
class
kubernetes.aio.client.models.v1alpha1_storage_version_list.V1alpha1StorageVersionListA list of StorageVersions.
class
kubernetes.aio.client.models.v1beta1_basic_device.V1beta1BasicDeviceBasicDevice defines one device instance.
class
kubernetes.aio.client.models.v1beta1_device_class_list.V1beta1DeviceClassListDeviceClassList is a collection of classes.
class
kubernetes.aio.client.models.v1beta1_ip_address_list.V1beta1IPAddressListIPAddressList contains a list of IPAddress.
class
kubernetes.aio.client.models.v1beta1_json_patch.V1beta1JSONPatchJSONPatch defines a JSON Patch.
class
kubernetes.aio.client.models.v1beta1_param_kind.V1beta1ParamKindParamKind is a tuple of Group Kind and Version.
class
kubernetes.aio.client.models.v1beta2_device_class_list.V1beta2DeviceClassListDeviceClassList is a collection of classes.
class
kubernetes.aio.client.models.version_info.VersionInfoInfo contains versioning information.
method
kubernetes.aio.client.models.version_info.VersionInfo.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of VersionInfo from a dict
method
kubernetes.aio.client.models.version_info.VersionInfo.from_json(json_str:str) -> Optional[Self]Create an instance of VersionInfo from a JSON string
method
kubernetes.aio.client.models.version_info.VersionInfo.to_str() -> strReturns the string representation of the model
class
kubernetes.aio.dynamic.discovery.ResourceGroupHelper class for Discoverer container
class
kubernetes.aio.dynamic.exceptions.BadRequestError400: StatusBadRequest
class
kubernetes.aio.dynamic.exceptions.ConflictError409: StatusConflict
class
kubernetes.aio.dynamic.exceptions.DynamicApiErrorGeneric API Error for the dynamic client
class
kubernetes.aio.dynamic.exceptions.ForbiddenError403: StatusForbidden
class
kubernetes.aio.dynamic.exceptions.GoneError410: StatusGone
class
kubernetes.aio.dynamic.exceptions.InternalServerError500: StatusInternalServer
class
kubernetes.aio.dynamic.exceptions.KubernetesValidateMissingkubernetes-validate is not installed
class
kubernetes.aio.dynamic.exceptions.MethodNotAllowedError405: StatusMethodNotAllowed
class
kubernetes.aio.dynamic.exceptions.NotFoundError404: StatusNotFound
class
kubernetes.aio.dynamic.exceptions.ResourceNotFoundErrorResource was not found in available APIs
class
kubernetes.aio.dynamic.exceptions.ResourceNotUniqueErrorParameters given matched multiple API resources
class
kubernetes.aio.dynamic.exceptions.ServerTimeoutError504: StatusServerTimeout
class
kubernetes.aio.dynamic.exceptions.ServiceUnavailableError503: StatusServiceUnavailable
class
kubernetes.aio.dynamic.exceptions.TooManyRequestsError429: StatusTooManyRequests
class
kubernetes.aio.dynamic.exceptions.UnauthorizedError401: StatusUnauthorized
class
kubernetes.aio.dynamic.exceptions.UnprocessibleEntityError422: StatusUnprocessibleEntity
class
kubernetes.aio.dynamic.resource.ResourceFieldA parsed instance of an API resource attribute.
class
kubernetes.aio.dynamic.resource.ResourceInstanceA parsed instance of an API resource.
class
kubernetes.aio.dynamic.resource.ResourceListRepresents a list of API objects
class
kubernetes.aio.dynamic.resource.SubresourceRepresents a subresource of an API resource.
class
kubernetes.base.dynamic.discovery.ResourceGroupHelper class for Discoverer container
class
kubernetes.base.dynamic.exceptions.BadRequestError400: StatusBadRequest
class
kubernetes.base.dynamic.exceptions.ConflictError409: StatusConflict
class
kubernetes.base.dynamic.exceptions.DynamicApiErrorGeneric API Error for the dynamic client
class
kubernetes.base.dynamic.exceptions.ForbiddenError403: StatusForbidden
class
kubernetes.base.dynamic.exceptions.GoneError410: StatusGone
class
kubernetes.base.dynamic.exceptions.InternalServerError500: StatusInternalServer
class
kubernetes.base.dynamic.exceptions.KubernetesValidateMissingkubernetes-validate is not installed
class
kubernetes.base.dynamic.exceptions.MethodNotAllowedError405: StatusMethodNotAllowed
class
kubernetes.base.dynamic.exceptions.NotFoundError404: StatusNotFound
class
kubernetes.base.dynamic.exceptions.ResourceNotFoundErrorResource was not found in available APIs
class
kubernetes.base.dynamic.exceptions.ResourceNotUniqueErrorParameters given matched multiple API resources
class
kubernetes.base.dynamic.exceptions.ServerTimeoutError504: StatusServerTimeout
class
kubernetes.base.dynamic.exceptions.ServiceUnavailableError503: StatusServiceUnavailable
class
kubernetes.base.dynamic.exceptions.TooManyRequestsError429: StatusTooManyRequests
class
kubernetes.base.dynamic.exceptions.UnauthorizedError401: StatusUnauthorized
class
kubernetes.base.dynamic.exceptions.UnprocessibleEntityError422: StatusUnprocessibleEntity
class
kubernetes.base.dynamic.resource.ResourceFieldA parsed instance of an API resource attribute.
class
kubernetes.base.dynamic.resource.ResourceInstanceA parsed instance of an API resource.
class
kubernetes.base.dynamic.resource.ResourceListRepresents a list of API objects
class
kubernetes.base.dynamic.resource.SubresourceRepresents a subresource of an API resource.
class
kubernetes.base.retry.BackoffRetry backoff parameters.
func
kubernetes.base.retry.is_conflict(error:Exception) -> boolReturn True if ``error`` represents an HTTP 409 Conflict response.
func
kubernetes.base.retry.is_retry_after_response(error:Exception) -> boolReturn True if ``error`` should be retried after Retry-After.
func
kubernetes.base.retry.is_too_many_requests(error:Exception) -> boolReturn True if ``error`` represents HTTP 429 Too Many Requests.
func
kubernetes.base.retry.retry_after_max_retries(retries:Any=None) -> intReturn the client-go REST Retry-After retry ceiling.
class
kubernetes.client.api_client.ApiClientGeneric API client for OpenAPI client library builds.
method
kubernetes.client.api_client.ApiClient.files_parameters(files:Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]])Builds form parameters.
method
kubernetes.client.api_client.ApiClient.sanitize_for_serialization(obj)Builds a JSON POST object.
method
kubernetes.client.api_client.ApiClient.select_header_accept(accepts:List[str]) -> Optional[str]Returns `Accept` based on an array of accepts provided.
method
kubernetes.client.api_client.ApiClient.user_agent()User agent for this API client
class
kubernetes.client.api_response.ApiResponseAPI response object
method
kubernetes.client.configuration.Configuration.auth_settings() -> AuthSettingsGets Auth Settings dict for api client.
method
kubernetes.client.configuration.Configuration.get_api_key_with_prefix(identifier:str, alias:Optional[str]=None) -> Optional[str]Gets API key (with prefix if set).
method
kubernetes.client.configuration.Configuration.host() -> strReturn generated host.
method
kubernetes.client.configuration.Configuration.logger_file() -> Optional[str]The logger file.
method
kubernetes.client.configuration.Configuration.logger_format() -> strThe logger format.
method
kubernetes.client.configuration.Configuration.set_default(default:Optional[Self]) -> NoneStore a copy as the default configuration.
method
kubernetes.client.configuration.Configuration.to_debug_report() -> strGets the essential information for debugging.
class
kubernetes.client.exceptions.ConflictExceptionException for HTTP 409 Conflict.
class
kubernetes.client.exceptions.OpenApiExceptionThe base exception class for all OpenAPIExceptions
class
kubernetes.client.exceptions.UnprocessableEntityExceptionException for HTTP 422 Unprocessable Entity.
method
kubernetes.client.models.core_v1_event.CoreV1Event.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of CoreV1Event from a dict
method
kubernetes.client.models.core_v1_event.CoreV1Event.from_json(json_str:str) -> Optional[Self]Create an instance of CoreV1Event from a JSON string
method
kubernetes.client.models.core_v1_event.CoreV1Event.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.core_v1_event_list.CoreV1EventListEventList is a list of events.
method
kubernetes.client.models.core_v1_event_list.CoreV1EventList.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.events_v1_event_list.EventsV1EventListEventList is a list of Event objects.
class
kubernetes.client.models.v1_affinity.V1AffinityAffinity is a group of affinity scheduling rules.
method
kubernetes.client.models.v1_affinity.V1Affinity.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Affinity from a dict
method
kubernetes.client.models.v1_affinity.V1Affinity.from_json(json_str:str) -> Optional[Self]Create an instance of V1Affinity from a JSON string
method
kubernetes.client.models.v1_affinity.V1Affinity.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_api_service_list.V1APIServiceListAPIServiceList is a list of APIService objects.
method
kubernetes.client.models.v1_config_map.V1ConfigMap.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ConfigMap from a dict
method
kubernetes.client.models.v1_config_map.V1ConfigMap.from_json(json_str:str) -> Optional[Self]Create an instance of V1ConfigMap from a JSON string
method
kubernetes.client.models.v1_config_map.V1ConfigMap.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_config_map_key_selector.V1ConfigMapKeySelectorSelects a key from a ConfigMap.
class
kubernetes.client.models.v1_config_map_projection.V1ConfigMapProjectionAdapts a ConfigMap into a projected volume.
class
kubernetes.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSourceAdapts a ConfigMap into a volume.
class
kubernetes.client.models.v1_counter.V1CounterCounter describes a quantity associated with a device.
method
kubernetes.client.models.v1_counter.V1Counter.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Counter from a dict
method
kubernetes.client.models.v1_counter.V1Counter.from_json(json_str:str) -> Optional[Self]Create an instance of V1Counter from a JSON string
method
kubernetes.client.models.v1_counter.V1Counter.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_cron_job_list.V1CronJobListCronJobList is a collection of cron jobs.
method
kubernetes.client.models.v1_cron_job_list.V1CronJobList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1CronJobList from a dict
method
kubernetes.client.models.v1_cron_job_list.V1CronJobList.to_str() -> strReturns the string representation of the model
method
kubernetes.client.models.v1_csi_driver_list.V1CSIDriverList.to_str() -> strReturns the string representation of the model
method
kubernetes.client.models.v1_csi_driver_spec.V1CSIDriverSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_csi_node_list.V1CSINodeListCSINodeList is a collection of CSINode objects.
method
kubernetes.client.models.v1_csi_node_list.V1CSINodeList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1CSINodeList from a dict
method
kubernetes.client.models.v1_csi_node_list.V1CSINodeList.to_str() -> strReturns the string representation of the model
method
kubernetes.client.models.v1_daemon_set.V1DaemonSet.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1DaemonSet from a dict
method
kubernetes.client.models.v1_daemon_set.V1DaemonSet.from_json(json_str:str) -> Optional[Self]Create an instance of V1DaemonSet from a JSON string
method
kubernetes.client.models.v1_daemon_set.V1DaemonSet.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_daemon_set_list.V1DaemonSetListDaemonSetList is a collection of daemon sets.
method
kubernetes.client.models.v1_daemon_set_list.V1DaemonSetList.to_str() -> strReturns the string representation of the model
method
kubernetes.client.models.v1_daemon_set_spec.V1DaemonSetSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_deployment_list.V1DeploymentListDeploymentList is a list of Deployments.
class
kubernetes.client.models.v1_device_attribute.V1DeviceAttributeDeviceAttribute must have exactly one field set.
class
kubernetes.client.models.v1_device_class_list.V1DeviceClassListDeviceClassList is a collection of classes.
class
kubernetes.client.models.v1_device_selector.V1DeviceSelectorDeviceSelector must have exactly one field set.
class
kubernetes.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSourceRepresents an empty directory for a pod.
method
kubernetes.client.models.v1_endpoint_slice.V1EndpointSlice.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_endpoints_list.V1EndpointsListEndpointsList is a list of endpoints.
method
kubernetes.client.models.v1_endpoints_list.V1EndpointsList.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_event_source.V1EventSourceEventSource contains information for an event.
method
kubernetes.client.models.v1_event_source.V1EventSource.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1EventSource from a dict
method
kubernetes.client.models.v1_event_source.V1EventSource.from_json(json_str:str) -> Optional[Self]Create an instance of V1EventSource from a JSON string
method
kubernetes.client.models.v1_event_source.V1EventSource.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_exec_action.V1ExecActionExecAction describes a "run in container" action.
method
kubernetes.client.models.v1_exec_action.V1ExecAction.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ExecAction from a dict
method
kubernetes.client.models.v1_exec_action.V1ExecAction.from_json(json_str:str) -> Optional[Self]Create an instance of V1ExecAction from a JSON string
method
kubernetes.client.models.v1_exec_action.V1ExecAction.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_fc_volume_source.V1FCVolumeSourceRepresents a Fibre Channel volume.
class
kubernetes.client.models.v1_file_key_selector.V1FileKeySelectorFileKeySelector selects a key of the env file.
class
kubernetes.client.models.v1_flow_schema.V1FlowSchemaFlowSchema defines the schema of a group of flows.
method
kubernetes.client.models.v1_flow_schema.V1FlowSchema.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1FlowSchema from a dict
method
kubernetes.client.models.v1_flow_schema.V1FlowSchema.from_json(json_str:str) -> Optional[Self]Create an instance of V1FlowSchema from a JSON string
method
kubernetes.client.models.v1_flow_schema.V1FlowSchema.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_flow_schema_list.V1FlowSchemaListFlowSchemaList is a list of FlowSchema objects.
class
kubernetes.client.models.v1_host_path_volume_source.V1HostPathVolumeSourceRepresents a host path mapped into a pod.
class
kubernetes.client.models.v1_ingress_list.V1IngressListIngressList is a collection of Ingress.
method
kubernetes.client.models.v1_ingress_list.V1IngressList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1IngressList from a dict
method
kubernetes.client.models.v1_ingress_list.V1IngressList.from_json(json_str:str) -> Optional[Self]Create an instance of V1IngressList from a JSON string
method
kubernetes.client.models.v1_ingress_list.V1IngressList.to_str() -> strReturns the string representation of the model
method
kubernetes.client.models.v1_ip_address.V1IPAddress.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1IPAddress from a dict
method
kubernetes.client.models.v1_ip_address.V1IPAddress.from_json(json_str:str) -> Optional[Self]Create an instance of V1IPAddress from a JSON string
method
kubernetes.client.models.v1_ip_address.V1IPAddress.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_ip_address_list.V1IPAddressListIPAddressList contains a list of IPAddress.
method
kubernetes.client.models.v1_ip_address_list.V1IPAddressList.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_ip_block.V1IPBlockIPBlock describes a particular CIDR (Ex.
method
kubernetes.client.models.v1_ip_block.V1IPBlock.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1IPBlock from a dict
method
kubernetes.client.models.v1_ip_block.V1IPBlock.from_json(json_str:str) -> Optional[Self]Create an instance of V1IPBlock from a JSON string
method
kubernetes.client.models.v1_ip_block.V1IPBlock.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSourceRepresents an ISCSI disk.
class
kubernetes.client.models.v1_job.V1JobJob represents the configuration of a single job.
method
kubernetes.client.models.v1_job.V1Job.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Job from a dict
method
kubernetes.client.models.v1_job.V1Job.from_json(json_str:str) -> Optional[Self]Create an instance of V1Job from a JSON string
method
kubernetes.client.models.v1_job.V1Job.to_dict(serialize:bool=False) -> Dict[str, Any]Return all declared model fields using public or wire names.
method
kubernetes.client.models.v1_job.V1Job.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_job_condition.V1JobConditionJobCondition describes current state of a job.
method
kubernetes.client.models.v1_job_condition.V1JobCondition.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobCondition from a dict
method
kubernetes.client.models.v1_job_condition.V1JobCondition.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_job_list.V1JobListJobList is a collection of jobs.
method
kubernetes.client.models.v1_job_list.V1JobList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobList from a dict
method
kubernetes.client.models.v1_job_list.V1JobList.from_json(json_str:str) -> Optional[Self]Create an instance of V1JobList from a JSON string
method
kubernetes.client.models.v1_job_list.V1JobList.to_str() -> strReturns the string representation of the model
method
kubernetes.client.models.v1_job_spec.V1JobSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobSpec from a dict
method
kubernetes.client.models.v1_job_spec.V1JobSpec.from_json(json_str:str) -> Optional[Self]Create an instance of V1JobSpec from a JSON string
method
kubernetes.client.models.v1_job_spec.V1JobSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_job_status.V1JobStatusJobStatus represents the current state of a Job.
method
kubernetes.client.models.v1_job_status.V1JobStatus.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JobStatus from a dict
method
kubernetes.client.models.v1_job_status.V1JobStatus.from_json(json_str:str) -> Optional[Self]Create an instance of V1JobStatus from a JSON string
method
kubernetes.client.models.v1_job_status.V1JobStatus.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_json_patch.V1JSONPatchJSONPatch defines a JSON Patch.
method
kubernetes.client.models.v1_json_patch.V1JSONPatch.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1JSONPatch from a dict
method
kubernetes.client.models.v1_json_patch.V1JSONPatch.from_json(json_str:str) -> Optional[Self]Create an instance of V1JSONPatch from a JSON string
method
kubernetes.client.models.v1_json_patch.V1JSONPatch.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_key_to_path.V1KeyToPathMaps a string key to a path within a volume.
method
kubernetes.client.models.v1_key_to_path.V1KeyToPath.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1KeyToPath from a dict
method
kubernetes.client.models.v1_key_to_path.V1KeyToPath.from_json(json_str:str) -> Optional[Self]Create an instance of V1KeyToPath from a JSON string
method
kubernetes.client.models.v1_key_to_path.V1KeyToPath.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_lease.V1LeaseLease defines a lease concept.
method
kubernetes.client.models.v1_lease.V1Lease.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Lease from a dict
method
kubernetes.client.models.v1_lease.V1Lease.from_json(json_str:str) -> Optional[Self]Create an instance of V1Lease from a JSON string
method
kubernetes.client.models.v1_lease.V1Lease.to_dict(serialize:bool=False) -> Dict[str, Any]Return all declared model fields using public or wire names.
method
kubernetes.client.models.v1_lease.V1Lease.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_lease_list.V1LeaseListLeaseList is a list of Lease objects.
method
kubernetes.client.models.v1_lease_list.V1LeaseList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1LeaseList from a dict
method
kubernetes.client.models.v1_lease_list.V1LeaseList.from_json(json_str:str) -> Optional[Self]Create an instance of V1LeaseList from a JSON string
method
kubernetes.client.models.v1_lease_list.V1LeaseList.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_lease_spec.V1LeaseSpecLeaseSpec is a specification of a Lease.
method
kubernetes.client.models.v1_lease_spec.V1LeaseSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1LeaseSpec from a dict
method
kubernetes.client.models.v1_lease_spec.V1LeaseSpec.from_json(json_str:str) -> Optional[Self]Create an instance of V1LeaseSpec from a JSON string
method
kubernetes.client.models.v1_lease_spec.V1LeaseSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_limit_range_list.V1LimitRangeListLimitRangeList is a list of LimitRange items.
class
kubernetes.client.models.v1_namespace.V1NamespaceNamespace provides a scope for Names.
method
kubernetes.client.models.v1_namespace.V1Namespace.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Namespace from a dict
method
kubernetes.client.models.v1_namespace.V1Namespace.from_json(json_str:str) -> Optional[Self]Create an instance of V1Namespace from a JSON string
method
kubernetes.client.models.v1_namespace.V1Namespace.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_namespace_list.V1NamespaceListNamespaceList is a list of Namespaces.
method
kubernetes.client.models.v1_namespace_list.V1NamespaceList.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_node.V1NodeNode is a worker node in Kubernetes.
method
kubernetes.client.models.v1_node.V1Node.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Node from a dict
method
kubernetes.client.models.v1_node.V1Node.from_json(json_str:str) -> Optional[Self]Create an instance of V1Node from a JSON string
method
kubernetes.client.models.v1_node.V1Node.to_dict(serialize:bool=False) -> Dict[str, Any]Return all declared model fields using public or wire names.
method
kubernetes.client.models.v1_node.V1Node.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_param_kind.V1ParamKindParamKind is a tuple of Group Kind and Version.
method
kubernetes.client.models.v1_param_kind.V1ParamKind.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1ParamKind from a dict
method
kubernetes.client.models.v1_param_kind.V1ParamKind.from_json(json_str:str) -> Optional[Self]Create an instance of V1ParamKind from a JSON string
method
kubernetes.client.models.v1_param_kind.V1ParamKind.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_pod.V1PodPod is a collection of containers that can run on a host.
method
kubernetes.client.models.v1_pod.V1Pod.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Pod from a dict
method
kubernetes.client.models.v1_pod.V1Pod.from_json(json_str:str) -> Optional[Self]Create an instance of V1Pod from a JSON string
method
kubernetes.client.models.v1_pod.V1Pod.to_dict(serialize:bool=False) -> Dict[str, Any]Return all declared model fields using public or wire names.
method
kubernetes.client.models.v1_pod.V1Pod.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_pod_list.V1PodListPodList is a list of Pods.
method
kubernetes.client.models.v1_pod_list.V1PodList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1PodList from a dict
method
kubernetes.client.models.v1_pod_list.V1PodList.from_json(json_str:str) -> Optional[Self]Create an instance of V1PodList from a JSON string
method
kubernetes.client.models.v1_pod_list.V1PodList.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_pod_os.V1PodOSPodOS defines the OS parameters of a pod.
method
kubernetes.client.models.v1_pod_os.V1PodOS.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1PodOS from a dict
method
kubernetes.client.models.v1_pod_os.V1PodOS.from_json(json_str:str) -> Optional[Self]Create an instance of V1PodOS from a JSON string
method
kubernetes.client.models.v1_pod_os.V1PodOS.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_pod_spec.V1PodSpecPodSpec is a description of a pod.
method
kubernetes.client.models.v1_pod_spec.V1PodSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1PodSpec from a dict
method
kubernetes.client.models.v1_pod_spec.V1PodSpec.from_json(json_str:str) -> Optional[Self]Create an instance of V1PodSpec from a JSON string
method
kubernetes.client.models.v1_pod_spec.V1PodSpec.to_str() -> strReturns the string representation of the model
class
kubernetes.client.models.v1_pod_template_list.V1PodTemplateListPodTemplateList is a list of PodTemplates.
class
kubernetes.client.models.v1_replica_set_list.V1ReplicaSetListReplicaSetList is a collection of ReplicaSets.
class
kubernetes.client.models.v1_resource_claim_list.V1ResourceClaimListResourceClaimList is a collection of claims.
class
kubernetes.client.models.v1_scale.V1ScaleScale represents a scaling request for a resource.
method
kubernetes.client.models.v1_scale.V1Scale.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]Create an instance of V1Scale from a dict
この情報について
掲載しているシグネチャは kubernetes-client/python の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。