brk-code

python の API リファレンス

python (kubernetes-client/python) の公開 API 400 件 —— クラス 168、関数 4、メソッド 228。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: kubernetes-client/python

種別件数
クラス168
関数4
メソッド228

API 一覧

classkubernetes.aio.client.api_client.ApiClient
Generic API client for OpenAPI client library builds.
methodkubernetes.aio.client.api_client.ApiClient.files_parameters(files:Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]])
Builds form parameters.
methodkubernetes.aio.client.api_client.ApiClient.user_agent()
User agent for this API client
classkubernetes.aio.client.api_response.ApiResponse
API response object
methodkubernetes.aio.client.configuration.Configuration.auth_settings() -> AuthSettings
Gets Auth Settings dict for api client.
methodkubernetes.aio.client.configuration.Configuration.get_api_key_with_prefix(identifier:str, alias:Optional[str]=None) -> Optional[str]
Gets API key (with prefix if set).
methodkubernetes.aio.client.configuration.Configuration.host() -> str
Return generated host.
methodkubernetes.aio.client.configuration.Configuration.logger_file() -> Optional[str]
The logger file.
methodkubernetes.aio.client.configuration.Configuration.logger_format() -> str
The logger format.
methodkubernetes.aio.client.configuration.Configuration.set_default(default:Optional[Self]) -> None
Store a copy as the default configuration.
methodkubernetes.aio.client.configuration.Configuration.to_debug_report() -> str
Gets the essential information for debugging.
classkubernetes.aio.client.exceptions.ConflictException
Exception for HTTP 409 Conflict.
classkubernetes.aio.client.exceptions.OpenApiException
The base exception class for all OpenAPIExceptions
classkubernetes.aio.client.exceptions.UnprocessableEntityException
Exception for HTTP 422 Unprocessable Entity.
methodkubernetes.aio.client.models.core_v1_event.CoreV1Event.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of CoreV1Event from a dict
methodkubernetes.aio.client.models.core_v1_event.CoreV1Event.from_json(json_str:str) -> Optional[Self]
Create an instance of CoreV1Event from a JSON string
methodkubernetes.aio.client.models.core_v1_event.CoreV1Event.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.core_v1_event_list.CoreV1EventList
EventList is a list of events.
classkubernetes.aio.client.models.events_v1_event_list.EventsV1EventList
EventList is a list of Event objects.
classkubernetes.aio.client.models.v1_affinity.V1Affinity
Affinity is a group of affinity scheduling rules.
methodkubernetes.aio.client.models.v1_affinity.V1Affinity.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Affinity from a dict
methodkubernetes.aio.client.models.v1_affinity.V1Affinity.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Affinity from a JSON string
methodkubernetes.aio.client.models.v1_affinity.V1Affinity.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_api_service_list.V1APIServiceList
APIServiceList is a list of APIService objects.
methodkubernetes.aio.client.models.v1_config_map.V1ConfigMap.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ConfigMap from a dict
methodkubernetes.aio.client.models.v1_config_map.V1ConfigMap.from_json(json_str:str) -> Optional[Self]
Create an instance of V1ConfigMap from a JSON string
methodkubernetes.aio.client.models.v1_config_map.V1ConfigMap.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_config_map_key_selector.V1ConfigMapKeySelector
Selects a key from a ConfigMap.
classkubernetes.aio.client.models.v1_config_map_projection.V1ConfigMapProjection
Adapts a ConfigMap into a projected volume.
classkubernetes.aio.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSource
Adapts a ConfigMap into a volume.
methodkubernetes.aio.client.models.v1_counter.V1Counter.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Counter from a dict
methodkubernetes.aio.client.models.v1_counter.V1Counter.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Counter from a JSON string
methodkubernetes.aio.client.models.v1_counter.V1Counter.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_cron_job_list.V1CronJobList
CronJobList is a collection of cron jobs.
methodkubernetes.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
methodkubernetes.aio.client.models.v1_cron_job_list.V1CronJobList.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_csi_node_list.V1CSINodeList
CSINodeList is a collection of CSINode objects.
methodkubernetes.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
methodkubernetes.aio.client.models.v1_csi_node_list.V1CSINodeList.to_str() -> str
Returns the string representation of the model
methodkubernetes.aio.client.models.v1_daemon_set.V1DaemonSet.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1DaemonSet from a dict
methodkubernetes.aio.client.models.v1_daemon_set.V1DaemonSet.from_json(json_str:str) -> Optional[Self]
Create an instance of V1DaemonSet from a JSON string
methodkubernetes.aio.client.models.v1_daemon_set.V1DaemonSet.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_daemon_set_list.V1DaemonSetList
DaemonSetList is a collection of daemon sets.
classkubernetes.aio.client.models.v1_deployment_list.V1DeploymentList
DeploymentList is a list of Deployments.
classkubernetes.aio.client.models.v1_device_class_list.V1DeviceClassList
DeviceClassList is a collection of classes.
classkubernetes.aio.client.models.v1_device_selector.V1DeviceSelector
DeviceSelector must have exactly one field set.
classkubernetes.aio.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSource
Represents an empty directory for a pod.
classkubernetes.aio.client.models.v1_endpoints_list.V1EndpointsList
EndpointsList is a list of endpoints.
classkubernetes.aio.client.models.v1_event_source.V1EventSource
EventSource contains information for an event.
methodkubernetes.aio.client.models.v1_event_source.V1EventSource.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1EventSource from a dict
methodkubernetes.aio.client.models.v1_event_source.V1EventSource.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_exec_action.V1ExecAction
ExecAction describes a "run in container" action.
methodkubernetes.aio.client.models.v1_exec_action.V1ExecAction.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ExecAction from a dict
methodkubernetes.aio.client.models.v1_exec_action.V1ExecAction.from_json(json_str:str) -> Optional[Self]
Create an instance of V1ExecAction from a JSON string
methodkubernetes.aio.client.models.v1_exec_action.V1ExecAction.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_fc_volume_source.V1FCVolumeSource
Represents a Fibre Channel volume.
classkubernetes.aio.client.models.v1_file_key_selector.V1FileKeySelector
FileKeySelector selects a key of the env file.
classkubernetes.aio.client.models.v1_flow_schema.V1FlowSchema
FlowSchema defines the schema of a group of flows.
methodkubernetes.aio.client.models.v1_flow_schema.V1FlowSchema.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1FlowSchema from a dict
methodkubernetes.aio.client.models.v1_flow_schema.V1FlowSchema.from_json(json_str:str) -> Optional[Self]
Create an instance of V1FlowSchema from a JSON string
methodkubernetes.aio.client.models.v1_flow_schema.V1FlowSchema.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_flow_schema_list.V1FlowSchemaList
FlowSchemaList is a list of FlowSchema objects.
classkubernetes.aio.client.models.v1_host_path_volume_source.V1HostPathVolumeSource
Represents a host path mapped into a pod.
classkubernetes.aio.client.models.v1_ingress_list.V1IngressList
IngressList is a collection of Ingress.
methodkubernetes.aio.client.models.v1_ingress_list.V1IngressList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1IngressList from a dict
methodkubernetes.aio.client.models.v1_ingress_list.V1IngressList.to_str() -> str
Returns the string representation of the model
methodkubernetes.aio.client.models.v1_ip_address.V1IPAddress.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1IPAddress from a dict
methodkubernetes.aio.client.models.v1_ip_address.V1IPAddress.from_json(json_str:str) -> Optional[Self]
Create an instance of V1IPAddress from a JSON string
methodkubernetes.aio.client.models.v1_ip_address.V1IPAddress.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_ip_address_list.V1IPAddressList
IPAddressList contains a list of IPAddress.
classkubernetes.aio.client.models.v1_ip_block.V1IPBlock
IPBlock describes a particular CIDR (Ex.
methodkubernetes.aio.client.models.v1_ip_block.V1IPBlock.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1IPBlock from a dict
methodkubernetes.aio.client.models.v1_ip_block.V1IPBlock.from_json(json_str:str) -> Optional[Self]
Create an instance of V1IPBlock from a JSON string
methodkubernetes.aio.client.models.v1_ip_block.V1IPBlock.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSource
Represents an ISCSI disk.
classkubernetes.aio.client.models.v1_job.V1Job
Job represents the configuration of a single job.
methodkubernetes.aio.client.models.v1_job.V1Job.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Job from a dict
methodkubernetes.aio.client.models.v1_job.V1Job.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Job from a JSON string
methodkubernetes.aio.client.models.v1_job.V1Job.to_dict(serialize:bool=False) -> Dict[str, Any]
Return all declared model fields using public or wire names.
methodkubernetes.aio.client.models.v1_job.V1Job.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_job_condition.V1JobCondition
JobCondition describes current state of a job.
methodkubernetes.aio.client.models.v1_job_condition.V1JobCondition.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobCondition from a dict
classkubernetes.aio.client.models.v1_job_list.V1JobList
JobList is a collection of jobs.
methodkubernetes.aio.client.models.v1_job_list.V1JobList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobList from a dict
methodkubernetes.aio.client.models.v1_job_list.V1JobList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JobList from a JSON string
methodkubernetes.aio.client.models.v1_job_list.V1JobList.to_str() -> str
Returns the string representation of the model
methodkubernetes.aio.client.models.v1_job_spec.V1JobSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobSpec from a dict
methodkubernetes.aio.client.models.v1_job_spec.V1JobSpec.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JobSpec from a JSON string
methodkubernetes.aio.client.models.v1_job_spec.V1JobSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_job_status.V1JobStatus
JobStatus represents the current state of a Job.
methodkubernetes.aio.client.models.v1_job_status.V1JobStatus.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobStatus from a dict
methodkubernetes.aio.client.models.v1_job_status.V1JobStatus.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JobStatus from a JSON string
methodkubernetes.aio.client.models.v1_job_status.V1JobStatus.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_json_patch.V1JSONPatch
JSONPatch defines a JSON Patch.
methodkubernetes.aio.client.models.v1_json_patch.V1JSONPatch.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JSONPatch from a dict
methodkubernetes.aio.client.models.v1_json_patch.V1JSONPatch.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JSONPatch from a JSON string
methodkubernetes.aio.client.models.v1_json_patch.V1JSONPatch.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_key_to_path.V1KeyToPath
Maps a string key to a path within a volume.
methodkubernetes.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
methodkubernetes.aio.client.models.v1_key_to_path.V1KeyToPath.from_json(json_str:str) -> Optional[Self]
Create an instance of V1KeyToPath from a JSON string
methodkubernetes.aio.client.models.v1_key_to_path.V1KeyToPath.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_lease.V1Lease
Lease defines a lease concept.
methodkubernetes.aio.client.models.v1_lease.V1Lease.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Lease from a dict
methodkubernetes.aio.client.models.v1_lease.V1Lease.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Lease from a JSON string
methodkubernetes.aio.client.models.v1_lease.V1Lease.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_lease_list.V1LeaseList
LeaseList is a list of Lease objects.
methodkubernetes.aio.client.models.v1_lease_list.V1LeaseList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1LeaseList from a dict
methodkubernetes.aio.client.models.v1_lease_list.V1LeaseList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1LeaseList from a JSON string
methodkubernetes.aio.client.models.v1_lease_list.V1LeaseList.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_lease_spec.V1LeaseSpec
LeaseSpec is a specification of a Lease.
methodkubernetes.aio.client.models.v1_lease_spec.V1LeaseSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1LeaseSpec from a dict
methodkubernetes.aio.client.models.v1_lease_spec.V1LeaseSpec.from_json(json_str:str) -> Optional[Self]
Create an instance of V1LeaseSpec from a JSON string
methodkubernetes.aio.client.models.v1_lease_spec.V1LeaseSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_limit_range_list.V1LimitRangeList
LimitRangeList is a list of LimitRange items.
classkubernetes.aio.client.models.v1_namespace.V1Namespace
Namespace provides a scope for Names.
methodkubernetes.aio.client.models.v1_namespace.V1Namespace.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Namespace from a dict
methodkubernetes.aio.client.models.v1_namespace.V1Namespace.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Namespace from a JSON string
methodkubernetes.aio.client.models.v1_namespace.V1Namespace.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_namespace_list.V1NamespaceList
NamespaceList is a list of Namespaces.
classkubernetes.aio.client.models.v1_node.V1Node
Node is a worker node in Kubernetes.
methodkubernetes.aio.client.models.v1_node.V1Node.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Node from a dict
methodkubernetes.aio.client.models.v1_node.V1Node.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Node from a JSON string
methodkubernetes.aio.client.models.v1_node.V1Node.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_param_kind.V1ParamKind
ParamKind is a tuple of Group Kind and Version.
methodkubernetes.aio.client.models.v1_param_kind.V1ParamKind.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ParamKind from a dict
methodkubernetes.aio.client.models.v1_param_kind.V1ParamKind.from_json(json_str:str) -> Optional[Self]
Create an instance of V1ParamKind from a JSON string
methodkubernetes.aio.client.models.v1_param_kind.V1ParamKind.to_str() -> str
Returns the string representation of the model
methodkubernetes.aio.client.models.v1_pod.V1Pod.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Pod from a dict
methodkubernetes.aio.client.models.v1_pod.V1Pod.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Pod from a JSON string
methodkubernetes.aio.client.models.v1_pod.V1Pod.to_dict(serialize:bool=False) -> Dict[str, Any]
Return all declared model fields using public or wire names.
methodkubernetes.aio.client.models.v1_pod.V1Pod.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_pod_list.V1PodList
PodList is a list of Pods.
methodkubernetes.aio.client.models.v1_pod_list.V1PodList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1PodList from a dict
methodkubernetes.aio.client.models.v1_pod_list.V1PodList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1PodList from a JSON string
methodkubernetes.aio.client.models.v1_pod_list.V1PodList.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_pod_os.V1PodOS
PodOS defines the OS parameters of a pod.
methodkubernetes.aio.client.models.v1_pod_os.V1PodOS.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1PodOS from a dict
methodkubernetes.aio.client.models.v1_pod_os.V1PodOS.from_json(json_str:str) -> Optional[Self]
Create an instance of V1PodOS from a JSON string
methodkubernetes.aio.client.models.v1_pod_os.V1PodOS.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_pod_spec.V1PodSpec
PodSpec is a description of a pod.
methodkubernetes.aio.client.models.v1_pod_spec.V1PodSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1PodSpec from a dict
methodkubernetes.aio.client.models.v1_pod_spec.V1PodSpec.from_json(json_str:str) -> Optional[Self]
Create an instance of V1PodSpec from a JSON string
methodkubernetes.aio.client.models.v1_pod_spec.V1PodSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_pod_template_list.V1PodTemplateList
PodTemplateList is a list of PodTemplates.
classkubernetes.aio.client.models.v1_replica_set_list.V1ReplicaSetList
ReplicaSetList is a collection of ReplicaSets.
classkubernetes.aio.client.models.v1_resource_claim_list.V1ResourceClaimList
ResourceClaimList is a collection of claims.
classkubernetes.aio.client.models.v1_scale.V1Scale
Scale represents a scaling request for a resource.
methodkubernetes.aio.client.models.v1_scale.V1Scale.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Scale from a dict
methodkubernetes.aio.client.models.v1_scale.V1Scale.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Scale from a JSON string
methodkubernetes.aio.client.models.v1_scale.V1Scale.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_secret.V1Secret
Secret holds secret data of a certain type.
methodkubernetes.aio.client.models.v1_secret.V1Secret.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Secret from a dict
methodkubernetes.aio.client.models.v1_secret.V1Secret.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Secret from a JSON string
methodkubernetes.aio.client.models.v1_secret.V1Secret.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_secret_key_selector.V1SecretKeySelector
SecretKeySelector selects a key of a Secret.
classkubernetes.aio.client.models.v1_secret_list.V1SecretList
SecretList is a list of Secret.
methodkubernetes.aio.client.models.v1_secret_list.V1SecretList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1SecretList from a dict
methodkubernetes.aio.client.models.v1_secret_list.V1SecretList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1SecretList from a JSON string
methodkubernetes.aio.client.models.v1_secret_list.V1SecretList.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_secret_projection.V1SecretProjection
Adapts a secret into a projected volume.
classkubernetes.aio.client.models.v1_secret_reference.V1SecretReference
SecretReference represents a Secret Reference.
classkubernetes.aio.client.models.v1_secret_volume_source.V1SecretVolumeSource
Adapts a Secret into a volume.
classkubernetes.aio.client.models.v1_service_list.V1ServiceList
ServiceList holds a list of services.
methodkubernetes.aio.client.models.v1_service_list.V1ServiceList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ServiceList from a dict
methodkubernetes.aio.client.models.v1_service_list.V1ServiceList.to_str() -> str
Returns the string representation of the model
methodkubernetes.aio.client.models.v1_service_port.V1ServicePort.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ServicePort from a dict
methodkubernetes.aio.client.models.v1_service_port.V1ServicePort.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1_sleep_action.V1SleepAction
SleepAction describes a "sleep" action.
methodkubernetes.aio.client.models.v1_sleep_action.V1SleepAction.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1SleepAction from a dict
methodkubernetes.aio.client.models.v1_sleep_action.V1SleepAction.to_str() -> str
Returns the string representation of the model
methodkubernetes.aio.client.models.v1_watch_event.V1WatchEvent.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1WatchEvent from a dict
methodkubernetes.aio.client.models.v1_watch_event.V1WatchEvent.from_json(json_str:str) -> Optional[Self]
Create an instance of V1WatchEvent from a JSON string
methodkubernetes.aio.client.models.v1_watch_event.V1WatchEvent.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.client.models.v1alpha1_json_patch.V1alpha1JSONPatch
JSONPatch defines a JSON Patch.
classkubernetes.aio.client.models.v1alpha1_storage_version.V1alpha1StorageVersion
Storage version of a specific resource.
classkubernetes.aio.client.models.v1alpha1_storage_version_list.V1alpha1StorageVersionList
A list of StorageVersions.
classkubernetes.aio.client.models.v1beta1_basic_device.V1beta1BasicDevice
BasicDevice defines one device instance.
classkubernetes.aio.client.models.v1beta1_device_class_list.V1beta1DeviceClassList
DeviceClassList is a collection of classes.
classkubernetes.aio.client.models.v1beta1_ip_address_list.V1beta1IPAddressList
IPAddressList contains a list of IPAddress.
classkubernetes.aio.client.models.v1beta1_json_patch.V1beta1JSONPatch
JSONPatch defines a JSON Patch.
classkubernetes.aio.client.models.v1beta1_param_kind.V1beta1ParamKind
ParamKind is a tuple of Group Kind and Version.
classkubernetes.aio.client.models.v1beta2_device_class_list.V1beta2DeviceClassList
DeviceClassList is a collection of classes.
classkubernetes.aio.client.models.version_info.VersionInfo
Info contains versioning information.
methodkubernetes.aio.client.models.version_info.VersionInfo.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of VersionInfo from a dict
methodkubernetes.aio.client.models.version_info.VersionInfo.from_json(json_str:str) -> Optional[Self]
Create an instance of VersionInfo from a JSON string
methodkubernetes.aio.client.models.version_info.VersionInfo.to_str() -> str
Returns the string representation of the model
classkubernetes.aio.dynamic.discovery.ResourceGroup
Helper class for Discoverer container
classkubernetes.aio.dynamic.exceptions.BadRequestError
400: StatusBadRequest
classkubernetes.aio.dynamic.exceptions.ConflictError
409: StatusConflict
classkubernetes.aio.dynamic.exceptions.DynamicApiError
Generic API Error for the dynamic client
classkubernetes.aio.dynamic.exceptions.ForbiddenError
403: StatusForbidden
classkubernetes.aio.dynamic.exceptions.GoneError
410: StatusGone
classkubernetes.aio.dynamic.exceptions.InternalServerError
500: StatusInternalServer
classkubernetes.aio.dynamic.exceptions.KubernetesValidateMissing
kubernetes-validate is not installed
classkubernetes.aio.dynamic.exceptions.MethodNotAllowedError
405: StatusMethodNotAllowed
classkubernetes.aio.dynamic.exceptions.NotFoundError
404: StatusNotFound
classkubernetes.aio.dynamic.exceptions.ResourceNotFoundError
Resource was not found in available APIs
classkubernetes.aio.dynamic.exceptions.ResourceNotUniqueError
Parameters given matched multiple API resources
classkubernetes.aio.dynamic.exceptions.ServerTimeoutError
504: StatusServerTimeout
classkubernetes.aio.dynamic.exceptions.ServiceUnavailableError
503: StatusServiceUnavailable
classkubernetes.aio.dynamic.exceptions.TooManyRequestsError
429: StatusTooManyRequests
classkubernetes.aio.dynamic.exceptions.UnauthorizedError
401: StatusUnauthorized
classkubernetes.aio.dynamic.exceptions.UnprocessibleEntityError
422: StatusUnprocessibleEntity
classkubernetes.aio.dynamic.resource.ResourceField
A parsed instance of an API resource attribute.
classkubernetes.aio.dynamic.resource.ResourceInstance
A parsed instance of an API resource.
classkubernetes.aio.dynamic.resource.ResourceList
Represents a list of API objects
classkubernetes.aio.dynamic.resource.Subresource
Represents a subresource of an API resource.
classkubernetes.base.dynamic.discovery.ResourceGroup
Helper class for Discoverer container
classkubernetes.base.dynamic.exceptions.BadRequestError
400: StatusBadRequest
classkubernetes.base.dynamic.exceptions.ConflictError
409: StatusConflict
classkubernetes.base.dynamic.exceptions.DynamicApiError
Generic API Error for the dynamic client
classkubernetes.base.dynamic.exceptions.ForbiddenError
403: StatusForbidden
classkubernetes.base.dynamic.exceptions.GoneError
410: StatusGone
classkubernetes.base.dynamic.exceptions.InternalServerError
500: StatusInternalServer
classkubernetes.base.dynamic.exceptions.KubernetesValidateMissing
kubernetes-validate is not installed
classkubernetes.base.dynamic.exceptions.MethodNotAllowedError
405: StatusMethodNotAllowed
classkubernetes.base.dynamic.exceptions.NotFoundError
404: StatusNotFound
classkubernetes.base.dynamic.exceptions.ResourceNotFoundError
Resource was not found in available APIs
classkubernetes.base.dynamic.exceptions.ResourceNotUniqueError
Parameters given matched multiple API resources
classkubernetes.base.dynamic.exceptions.ServerTimeoutError
504: StatusServerTimeout
classkubernetes.base.dynamic.exceptions.ServiceUnavailableError
503: StatusServiceUnavailable
classkubernetes.base.dynamic.exceptions.TooManyRequestsError
429: StatusTooManyRequests
classkubernetes.base.dynamic.exceptions.UnauthorizedError
401: StatusUnauthorized
classkubernetes.base.dynamic.exceptions.UnprocessibleEntityError
422: StatusUnprocessibleEntity
classkubernetes.base.dynamic.resource.ResourceField
A parsed instance of an API resource attribute.
classkubernetes.base.dynamic.resource.ResourceInstance
A parsed instance of an API resource.
classkubernetes.base.dynamic.resource.ResourceList
Represents a list of API objects
classkubernetes.base.dynamic.resource.Subresource
Represents a subresource of an API resource.
classkubernetes.base.retry.Backoff
Retry backoff parameters.
funckubernetes.base.retry.is_conflict(error:Exception) -> bool
Return True if ``error`` represents an HTTP 409 Conflict response.
funckubernetes.base.retry.is_retry_after_response(error:Exception) -> bool
Return True if ``error`` should be retried after Retry-After.
funckubernetes.base.retry.is_too_many_requests(error:Exception) -> bool
Return True if ``error`` represents HTTP 429 Too Many Requests.
funckubernetes.base.retry.retry_after_max_retries(retries:Any=None) -> int
Return the client-go REST Retry-After retry ceiling.
classkubernetes.client.api_client.ApiClient
Generic API client for OpenAPI client library builds.
methodkubernetes.client.api_client.ApiClient.files_parameters(files:Dict[str, Union[str, bytes, List[str], List[bytes], Tuple[str, bytes]]])
Builds form parameters.
methodkubernetes.client.api_client.ApiClient.sanitize_for_serialization(obj)
Builds a JSON POST object.
methodkubernetes.client.api_client.ApiClient.select_header_accept(accepts:List[str]) -> Optional[str]
Returns `Accept` based on an array of accepts provided.
methodkubernetes.client.api_client.ApiClient.user_agent()
User agent for this API client
classkubernetes.client.api_response.ApiResponse
API response object
methodkubernetes.client.configuration.Configuration.auth_settings() -> AuthSettings
Gets Auth Settings dict for api client.
methodkubernetes.client.configuration.Configuration.get_api_key_with_prefix(identifier:str, alias:Optional[str]=None) -> Optional[str]
Gets API key (with prefix if set).
methodkubernetes.client.configuration.Configuration.host() -> str
Return generated host.
methodkubernetes.client.configuration.Configuration.logger_file() -> Optional[str]
The logger file.
methodkubernetes.client.configuration.Configuration.logger_format() -> str
The logger format.
methodkubernetes.client.configuration.Configuration.set_default(default:Optional[Self]) -> None
Store a copy as the default configuration.
methodkubernetes.client.configuration.Configuration.to_debug_report() -> str
Gets the essential information for debugging.
classkubernetes.client.exceptions.ConflictException
Exception for HTTP 409 Conflict.
classkubernetes.client.exceptions.OpenApiException
The base exception class for all OpenAPIExceptions
classkubernetes.client.exceptions.UnprocessableEntityException
Exception for HTTP 422 Unprocessable Entity.
methodkubernetes.client.models.core_v1_event.CoreV1Event.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of CoreV1Event from a dict
methodkubernetes.client.models.core_v1_event.CoreV1Event.from_json(json_str:str) -> Optional[Self]
Create an instance of CoreV1Event from a JSON string
methodkubernetes.client.models.core_v1_event.CoreV1Event.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.core_v1_event_list.CoreV1EventList
EventList is a list of events.
methodkubernetes.client.models.core_v1_event_list.CoreV1EventList.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.events_v1_event_list.EventsV1EventList
EventList is a list of Event objects.
classkubernetes.client.models.v1_affinity.V1Affinity
Affinity is a group of affinity scheduling rules.
methodkubernetes.client.models.v1_affinity.V1Affinity.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Affinity from a dict
methodkubernetes.client.models.v1_affinity.V1Affinity.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Affinity from a JSON string
methodkubernetes.client.models.v1_affinity.V1Affinity.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_api_service_list.V1APIServiceList
APIServiceList is a list of APIService objects.
methodkubernetes.client.models.v1_config_map.V1ConfigMap.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ConfigMap from a dict
methodkubernetes.client.models.v1_config_map.V1ConfigMap.from_json(json_str:str) -> Optional[Self]
Create an instance of V1ConfigMap from a JSON string
methodkubernetes.client.models.v1_config_map.V1ConfigMap.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_config_map_key_selector.V1ConfigMapKeySelector
Selects a key from a ConfigMap.
classkubernetes.client.models.v1_config_map_projection.V1ConfigMapProjection
Adapts a ConfigMap into a projected volume.
classkubernetes.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSource
Adapts a ConfigMap into a volume.
classkubernetes.client.models.v1_counter.V1Counter
Counter describes a quantity associated with a device.
methodkubernetes.client.models.v1_counter.V1Counter.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Counter from a dict
methodkubernetes.client.models.v1_counter.V1Counter.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Counter from a JSON string
methodkubernetes.client.models.v1_counter.V1Counter.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_cron_job_list.V1CronJobList
CronJobList is a collection of cron jobs.
methodkubernetes.client.models.v1_cron_job_list.V1CronJobList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1CronJobList from a dict
methodkubernetes.client.models.v1_cron_job_list.V1CronJobList.to_str() -> str
Returns the string representation of the model
methodkubernetes.client.models.v1_csi_driver_list.V1CSIDriverList.to_str() -> str
Returns the string representation of the model
methodkubernetes.client.models.v1_csi_driver_spec.V1CSIDriverSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_csi_node_list.V1CSINodeList
CSINodeList is a collection of CSINode objects.
methodkubernetes.client.models.v1_csi_node_list.V1CSINodeList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1CSINodeList from a dict
methodkubernetes.client.models.v1_csi_node_list.V1CSINodeList.to_str() -> str
Returns the string representation of the model
methodkubernetes.client.models.v1_daemon_set.V1DaemonSet.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1DaemonSet from a dict
methodkubernetes.client.models.v1_daemon_set.V1DaemonSet.from_json(json_str:str) -> Optional[Self]
Create an instance of V1DaemonSet from a JSON string
methodkubernetes.client.models.v1_daemon_set.V1DaemonSet.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_daemon_set_list.V1DaemonSetList
DaemonSetList is a collection of daemon sets.
methodkubernetes.client.models.v1_daemon_set_list.V1DaemonSetList.to_str() -> str
Returns the string representation of the model
methodkubernetes.client.models.v1_daemon_set_spec.V1DaemonSetSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_deployment_list.V1DeploymentList
DeploymentList is a list of Deployments.
classkubernetes.client.models.v1_device_attribute.V1DeviceAttribute
DeviceAttribute must have exactly one field set.
classkubernetes.client.models.v1_device_class_list.V1DeviceClassList
DeviceClassList is a collection of classes.
classkubernetes.client.models.v1_device_selector.V1DeviceSelector
DeviceSelector must have exactly one field set.
classkubernetes.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSource
Represents an empty directory for a pod.
methodkubernetes.client.models.v1_endpoint_slice.V1EndpointSlice.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_endpoints_list.V1EndpointsList
EndpointsList is a list of endpoints.
methodkubernetes.client.models.v1_endpoints_list.V1EndpointsList.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_event_source.V1EventSource
EventSource contains information for an event.
methodkubernetes.client.models.v1_event_source.V1EventSource.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1EventSource from a dict
methodkubernetes.client.models.v1_event_source.V1EventSource.from_json(json_str:str) -> Optional[Self]
Create an instance of V1EventSource from a JSON string
methodkubernetes.client.models.v1_event_source.V1EventSource.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_exec_action.V1ExecAction
ExecAction describes a "run in container" action.
methodkubernetes.client.models.v1_exec_action.V1ExecAction.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ExecAction from a dict
methodkubernetes.client.models.v1_exec_action.V1ExecAction.from_json(json_str:str) -> Optional[Self]
Create an instance of V1ExecAction from a JSON string
methodkubernetes.client.models.v1_exec_action.V1ExecAction.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_fc_volume_source.V1FCVolumeSource
Represents a Fibre Channel volume.
classkubernetes.client.models.v1_file_key_selector.V1FileKeySelector
FileKeySelector selects a key of the env file.
classkubernetes.client.models.v1_flow_schema.V1FlowSchema
FlowSchema defines the schema of a group of flows.
methodkubernetes.client.models.v1_flow_schema.V1FlowSchema.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1FlowSchema from a dict
methodkubernetes.client.models.v1_flow_schema.V1FlowSchema.from_json(json_str:str) -> Optional[Self]
Create an instance of V1FlowSchema from a JSON string
methodkubernetes.client.models.v1_flow_schema.V1FlowSchema.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_flow_schema_list.V1FlowSchemaList
FlowSchemaList is a list of FlowSchema objects.
classkubernetes.client.models.v1_host_path_volume_source.V1HostPathVolumeSource
Represents a host path mapped into a pod.
classkubernetes.client.models.v1_ingress_list.V1IngressList
IngressList is a collection of Ingress.
methodkubernetes.client.models.v1_ingress_list.V1IngressList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1IngressList from a dict
methodkubernetes.client.models.v1_ingress_list.V1IngressList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1IngressList from a JSON string
methodkubernetes.client.models.v1_ingress_list.V1IngressList.to_str() -> str
Returns the string representation of the model
methodkubernetes.client.models.v1_ip_address.V1IPAddress.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1IPAddress from a dict
methodkubernetes.client.models.v1_ip_address.V1IPAddress.from_json(json_str:str) -> Optional[Self]
Create an instance of V1IPAddress from a JSON string
methodkubernetes.client.models.v1_ip_address.V1IPAddress.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_ip_address_list.V1IPAddressList
IPAddressList contains a list of IPAddress.
methodkubernetes.client.models.v1_ip_address_list.V1IPAddressList.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_ip_block.V1IPBlock
IPBlock describes a particular CIDR (Ex.
methodkubernetes.client.models.v1_ip_block.V1IPBlock.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1IPBlock from a dict
methodkubernetes.client.models.v1_ip_block.V1IPBlock.from_json(json_str:str) -> Optional[Self]
Create an instance of V1IPBlock from a JSON string
methodkubernetes.client.models.v1_ip_block.V1IPBlock.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSource
Represents an ISCSI disk.
classkubernetes.client.models.v1_job.V1Job
Job represents the configuration of a single job.
methodkubernetes.client.models.v1_job.V1Job.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Job from a dict
methodkubernetes.client.models.v1_job.V1Job.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Job from a JSON string
methodkubernetes.client.models.v1_job.V1Job.to_dict(serialize:bool=False) -> Dict[str, Any]
Return all declared model fields using public or wire names.
methodkubernetes.client.models.v1_job.V1Job.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_job_condition.V1JobCondition
JobCondition describes current state of a job.
methodkubernetes.client.models.v1_job_condition.V1JobCondition.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobCondition from a dict
methodkubernetes.client.models.v1_job_condition.V1JobCondition.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_job_list.V1JobList
JobList is a collection of jobs.
methodkubernetes.client.models.v1_job_list.V1JobList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobList from a dict
methodkubernetes.client.models.v1_job_list.V1JobList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JobList from a JSON string
methodkubernetes.client.models.v1_job_list.V1JobList.to_str() -> str
Returns the string representation of the model
methodkubernetes.client.models.v1_job_spec.V1JobSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobSpec from a dict
methodkubernetes.client.models.v1_job_spec.V1JobSpec.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JobSpec from a JSON string
methodkubernetes.client.models.v1_job_spec.V1JobSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_job_status.V1JobStatus
JobStatus represents the current state of a Job.
methodkubernetes.client.models.v1_job_status.V1JobStatus.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JobStatus from a dict
methodkubernetes.client.models.v1_job_status.V1JobStatus.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JobStatus from a JSON string
methodkubernetes.client.models.v1_job_status.V1JobStatus.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_json_patch.V1JSONPatch
JSONPatch defines a JSON Patch.
methodkubernetes.client.models.v1_json_patch.V1JSONPatch.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1JSONPatch from a dict
methodkubernetes.client.models.v1_json_patch.V1JSONPatch.from_json(json_str:str) -> Optional[Self]
Create an instance of V1JSONPatch from a JSON string
methodkubernetes.client.models.v1_json_patch.V1JSONPatch.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_key_to_path.V1KeyToPath
Maps a string key to a path within a volume.
methodkubernetes.client.models.v1_key_to_path.V1KeyToPath.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1KeyToPath from a dict
methodkubernetes.client.models.v1_key_to_path.V1KeyToPath.from_json(json_str:str) -> Optional[Self]
Create an instance of V1KeyToPath from a JSON string
methodkubernetes.client.models.v1_key_to_path.V1KeyToPath.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_lease.V1Lease
Lease defines a lease concept.
methodkubernetes.client.models.v1_lease.V1Lease.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Lease from a dict
methodkubernetes.client.models.v1_lease.V1Lease.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Lease from a JSON string
methodkubernetes.client.models.v1_lease.V1Lease.to_dict(serialize:bool=False) -> Dict[str, Any]
Return all declared model fields using public or wire names.
methodkubernetes.client.models.v1_lease.V1Lease.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_lease_list.V1LeaseList
LeaseList is a list of Lease objects.
methodkubernetes.client.models.v1_lease_list.V1LeaseList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1LeaseList from a dict
methodkubernetes.client.models.v1_lease_list.V1LeaseList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1LeaseList from a JSON string
methodkubernetes.client.models.v1_lease_list.V1LeaseList.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_lease_spec.V1LeaseSpec
LeaseSpec is a specification of a Lease.
methodkubernetes.client.models.v1_lease_spec.V1LeaseSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1LeaseSpec from a dict
methodkubernetes.client.models.v1_lease_spec.V1LeaseSpec.from_json(json_str:str) -> Optional[Self]
Create an instance of V1LeaseSpec from a JSON string
methodkubernetes.client.models.v1_lease_spec.V1LeaseSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_limit_range_list.V1LimitRangeList
LimitRangeList is a list of LimitRange items.
classkubernetes.client.models.v1_namespace.V1Namespace
Namespace provides a scope for Names.
methodkubernetes.client.models.v1_namespace.V1Namespace.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Namespace from a dict
methodkubernetes.client.models.v1_namespace.V1Namespace.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Namespace from a JSON string
methodkubernetes.client.models.v1_namespace.V1Namespace.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_namespace_list.V1NamespaceList
NamespaceList is a list of Namespaces.
methodkubernetes.client.models.v1_namespace_list.V1NamespaceList.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_node.V1Node
Node is a worker node in Kubernetes.
methodkubernetes.client.models.v1_node.V1Node.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Node from a dict
methodkubernetes.client.models.v1_node.V1Node.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Node from a JSON string
methodkubernetes.client.models.v1_node.V1Node.to_dict(serialize:bool=False) -> Dict[str, Any]
Return all declared model fields using public or wire names.
methodkubernetes.client.models.v1_node.V1Node.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_param_kind.V1ParamKind
ParamKind is a tuple of Group Kind and Version.
methodkubernetes.client.models.v1_param_kind.V1ParamKind.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1ParamKind from a dict
methodkubernetes.client.models.v1_param_kind.V1ParamKind.from_json(json_str:str) -> Optional[Self]
Create an instance of V1ParamKind from a JSON string
methodkubernetes.client.models.v1_param_kind.V1ParamKind.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_pod.V1Pod
Pod is a collection of containers that can run on a host.
methodkubernetes.client.models.v1_pod.V1Pod.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1Pod from a dict
methodkubernetes.client.models.v1_pod.V1Pod.from_json(json_str:str) -> Optional[Self]
Create an instance of V1Pod from a JSON string
methodkubernetes.client.models.v1_pod.V1Pod.to_dict(serialize:bool=False) -> Dict[str, Any]
Return all declared model fields using public or wire names.
methodkubernetes.client.models.v1_pod.V1Pod.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_pod_list.V1PodList
PodList is a list of Pods.
methodkubernetes.client.models.v1_pod_list.V1PodList.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1PodList from a dict
methodkubernetes.client.models.v1_pod_list.V1PodList.from_json(json_str:str) -> Optional[Self]
Create an instance of V1PodList from a JSON string
methodkubernetes.client.models.v1_pod_list.V1PodList.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_pod_os.V1PodOS
PodOS defines the OS parameters of a pod.
methodkubernetes.client.models.v1_pod_os.V1PodOS.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1PodOS from a dict
methodkubernetes.client.models.v1_pod_os.V1PodOS.from_json(json_str:str) -> Optional[Self]
Create an instance of V1PodOS from a JSON string
methodkubernetes.client.models.v1_pod_os.V1PodOS.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_pod_spec.V1PodSpec
PodSpec is a description of a pod.
methodkubernetes.client.models.v1_pod_spec.V1PodSpec.from_dict(obj:Optional[Dict[str, Any]]) -> Optional[Self]
Create an instance of V1PodSpec from a dict
methodkubernetes.client.models.v1_pod_spec.V1PodSpec.from_json(json_str:str) -> Optional[Self]
Create an instance of V1PodSpec from a JSON string
methodkubernetes.client.models.v1_pod_spec.V1PodSpec.to_str() -> str
Returns the string representation of the model
classkubernetes.client.models.v1_pod_template_list.V1PodTemplateList
PodTemplateList is a list of PodTemplates.
classkubernetes.client.models.v1_replica_set_list.V1ReplicaSetList
ReplicaSetList is a collection of ReplicaSets.
classkubernetes.client.models.v1_resource_claim_list.V1ResourceClaimList
ResourceClaimList is a collection of claims.
classkubernetes.client.models.v1_scale.V1Scale
Scale represents a scaling request for a resource.
methodkubernetes.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 モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る