Struct k8s_openapi::v1_10::api::core::v1::Pod [−][src]
pub struct Pod { pub api_version: Option<String>, pub kind: Option<String>, pub metadata: Option<ObjectMeta>, pub spec: Option<PodSpec>, pub status: Option<PodStatus>, }
Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
Fields
api_version: Option<String>
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
kind: Option<String>
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
metadata: Option<ObjectMeta>
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
spec: Option<PodSpec>
Specification of the desired behavior of the pod. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
status: Option<PodStatus>
Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
Methods
impl Pod
[src]
impl Pod
pub fn connect_core_v1_delete_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_delete_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect DELETE requests to proxy of Pod
Use ConnectCoreV1DeleteNamespacedPodProxyResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_delete_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_delete_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect DELETE requests to proxy of Pod
Use ConnectCoreV1DeleteNamespacedPodProxyWithPathResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_get_namespaced_pod_attach(
name: &str,
namespace: &str,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_get_namespaced_pod_attach(
name: &str,
namespace: &str,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
connect GET requests to attach of Pod
Use ConnectCoreV1GetNamespacedPodAttachResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_get_namespaced_pod_exec(
name: &str,
namespace: &str,
command: Option<&str>,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_get_namespaced_pod_exec(
name: &str,
namespace: &str,
command: Option<&str>,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
connect GET requests to exec of Pod
Use ConnectCoreV1GetNamespacedPodExecResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_get_namespaced_pod_portforward(
name: &str,
namespace: &str,
ports: Option<i64>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_get_namespaced_pod_portforward(
name: &str,
namespace: &str,
ports: Option<i64>
) -> Result<Request<Vec<u8>>, RequestError>
connect GET requests to portforward of Pod
Use ConnectCoreV1GetNamespacedPodPortforwardResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_get_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_get_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect GET requests to proxy of Pod
Use ConnectCoreV1GetNamespacedPodProxyResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_get_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_get_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect GET requests to proxy of Pod
Use ConnectCoreV1GetNamespacedPodProxyWithPathResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_patch_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_patch_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect PATCH requests to proxy of Pod
Use ConnectCoreV1PatchNamespacedPodProxyResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_patch_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_patch_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect PATCH requests to proxy of Pod
Use ConnectCoreV1PatchNamespacedPodProxyWithPathResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_post_namespaced_pod_attach(
name: &str,
namespace: &str,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_post_namespaced_pod_attach(
name: &str,
namespace: &str,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
connect POST requests to attach of Pod
Use ConnectCoreV1PostNamespacedPodAttachResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_post_namespaced_pod_exec(
name: &str,
namespace: &str,
command: Option<&str>,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_post_namespaced_pod_exec(
name: &str,
namespace: &str,
command: Option<&str>,
container: Option<&str>,
stderr: Option<bool>,
stdin: Option<bool>,
stdout: Option<bool>,
tty: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
connect POST requests to exec of Pod
Use ConnectCoreV1PostNamespacedPodExecResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_post_namespaced_pod_portforward(
name: &str,
namespace: &str,
ports: Option<i64>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_post_namespaced_pod_portforward(
name: &str,
namespace: &str,
ports: Option<i64>
) -> Result<Request<Vec<u8>>, RequestError>
connect POST requests to portforward of Pod
Use ConnectCoreV1PostNamespacedPodPortforwardResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_post_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_post_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect POST requests to proxy of Pod
Use ConnectCoreV1PostNamespacedPodProxyResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_post_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_post_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect POST requests to proxy of Pod
Use ConnectCoreV1PostNamespacedPodProxyWithPathResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_put_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_put_namespaced_pod_proxy(
name: &str,
namespace: &str,
path: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect PUT requests to proxy of Pod
Use ConnectCoreV1PutNamespacedPodProxyResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn connect_core_v1_put_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn connect_core_v1_put_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
path_: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
connect PUT requests to proxy of Pod
Use ConnectCoreV1PutNamespacedPodProxyWithPathResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn create_core_v1_namespaced_pod(
namespace: &str,
body: &Pod,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn create_core_v1_namespaced_pod(
namespace: &str,
body: &Pod,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
create a Pod
Use CreateCoreV1NamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn delete_core_v1_collection_namespaced_pod(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn delete_core_v1_collection_namespaced_pod(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
delete collection of Pod
Use DeleteCoreV1CollectionNamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn delete_core_v1_namespaced_pod(
name: &str,
namespace: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn delete_core_v1_namespaced_pod(
name: &str,
namespace: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
delete a Pod
Use DeleteCoreV1NamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn list_core_v1_namespaced_pod(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn list_core_v1_namespaced_pod(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
list or watch objects of kind Pod
Use ListCoreV1NamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn list_core_v1_pod_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn list_core_v1_pod_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
list or watch objects of kind Pod
Use ListCoreV1PodForAllNamespacesResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn patch_core_v1_namespaced_pod(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn patch_core_v1_namespaced_pod(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
partially update the specified Pod
Use PatchCoreV1NamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn patch_core_v1_namespaced_pod_status(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn patch_core_v1_namespaced_pod_status(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
partially update status of the specified Pod
Use PatchCoreV1NamespacedPodStatusResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn read_core_v1_namespaced_pod(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn read_core_v1_namespaced_pod(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
read the specified Pod
Use ReadCoreV1NamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn read_core_v1_namespaced_pod_log(
name: &str,
namespace: &str,
container: Option<&str>,
follow: Option<bool>,
limit_bytes: Option<i64>,
pretty: Option<&str>,
previous: Option<bool>,
since_seconds: Option<i64>,
tail_lines: Option<i64>,
timestamps: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn read_core_v1_namespaced_pod_log(
name: &str,
namespace: &str,
container: Option<&str>,
follow: Option<bool>,
limit_bytes: Option<i64>,
pretty: Option<&str>,
previous: Option<bool>,
since_seconds: Option<i64>,
tail_lines: Option<i64>,
timestamps: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
read log of the specified Pod
Use ReadCoreV1NamespacedPodLogResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn read_core_v1_namespaced_pod_status(
name: &str,
namespace: &str,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn read_core_v1_namespaced_pod_status(
name: &str,
namespace: &str,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
read status of the specified Pod
Use ReadCoreV1NamespacedPodStatusResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn replace_core_v1_namespaced_pod(
name: &str,
namespace: &str,
body: &Pod,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn replace_core_v1_namespaced_pod(
name: &str,
namespace: &str,
body: &Pod,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
replace the specified Pod
Use ReplaceCoreV1NamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn replace_core_v1_namespaced_pod_status(
name: &str,
namespace: &str,
body: &Pod,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn replace_core_v1_namespaced_pod_status(
name: &str,
namespace: &str,
body: &Pod,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
replace status of the specified Pod
Use ReplaceCoreV1NamespacedPodStatusResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn watch_core_v1_namespaced_pod(
name: &str,
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn watch_core_v1_namespaced_pod(
name: &str,
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
watch changes to an object of kind Pod
Use WatchCoreV1NamespacedPodResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn watch_core_v1_namespaced_pod_list(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn watch_core_v1_namespaced_pod_list(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
watch individual changes to a list of Pod
Use WatchCoreV1NamespacedPodListResponse
to parse the HTTP response.
impl Pod
[src]
impl Pod
pub fn watch_core_v1_pod_list_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn watch_core_v1_pod_list_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
watch individual changes to a list of Pod
Use WatchCoreV1PodListForAllNamespacesResponse
to parse the HTTP response.
Trait Implementations
impl Clone for Pod
[src]
impl Clone for Pod
fn clone(&self) -> Pod
[src]
fn clone(&self) -> Pod
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Pod
[src]
impl Debug for Pod
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Pod
[src]
impl Default for Pod
impl PartialEq for Pod
[src]
impl PartialEq for Pod
fn eq(&self, other: &Pod) -> bool
[src]
fn eq(&self, other: &Pod) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Pod) -> bool
[src]
fn ne(&self, other: &Pod) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for Pod
[src]
impl<'de> Deserialize<'de> for Pod
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for Pod
[src]
impl Serialize for Pod