[−][src]Struct k8s_openapi::api::core::v1::Pod
Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.
Fields
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]
pub fn connect_delete_namespaced_pod_proxy(
name: &str,
namespace: &str,
optional: ConnectDeleteNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectDeleteNamespacedPodProxyResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectDeleteNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectDeleteNamespacedPodProxyResponse>), RequestError>
connect DELETE requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectDeleteNamespacedPodProxyResponse
>
constructor, or ConnectDeleteNamespacedPodProxyResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_delete_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
optional: ConnectDeleteNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectDeleteNamespacedPodProxyWithPathResponse>), RequestError>
[src]
name: &str,
namespace: &str,
path: &str,
optional: ConnectDeleteNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectDeleteNamespacedPodProxyWithPathResponse>), RequestError>
connect DELETE requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectDeleteNamespacedPodProxyWithPathResponse
>
constructor, or ConnectDeleteNamespacedPodProxyWithPathResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
path
path to the resource
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_get_namespaced_pod_attach(
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodAttachOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodAttachResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodAttachOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodAttachResponse>), RequestError>
connect GET requests to attach of Pod
Use the returned crate::ResponseBody
<
ConnectGetNamespacedPodAttachResponse
>
constructor, or ConnectGetNamespacedPodAttachResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodAttachOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_get_namespaced_pod_exec(
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodExecOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodExecResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodExecOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodExecResponse>), RequestError>
connect GET requests to exec of Pod
Use the returned crate::ResponseBody
<
ConnectGetNamespacedPodExecResponse
>
constructor, or ConnectGetNamespacedPodExecResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodExecOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_get_namespaced_pod_portforward(
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodPortforwardOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodPortforwardResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodPortforwardOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodPortforwardResponse>), RequestError>
connect GET requests to portforward of Pod
Use the returned crate::ResponseBody
<
ConnectGetNamespacedPodPortforwardResponse
>
constructor, or ConnectGetNamespacedPodPortforwardResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodPortForwardOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_get_namespaced_pod_proxy(
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodProxyResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectGetNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodProxyResponse>), RequestError>
connect GET requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectGetNamespacedPodProxyResponse
>
constructor, or ConnectGetNamespacedPodProxyResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_get_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
optional: ConnectGetNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodProxyWithPathResponse>), RequestError>
[src]
name: &str,
namespace: &str,
path: &str,
optional: ConnectGetNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectGetNamespacedPodProxyWithPathResponse>), RequestError>
connect GET requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectGetNamespacedPodProxyWithPathResponse
>
constructor, or ConnectGetNamespacedPodProxyWithPathResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
path
path to the resource
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_patch_namespaced_pod_proxy(
name: &str,
namespace: &str,
optional: ConnectPatchNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPatchNamespacedPodProxyResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectPatchNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPatchNamespacedPodProxyResponse>), RequestError>
connect PATCH requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectPatchNamespacedPodProxyResponse
>
constructor, or ConnectPatchNamespacedPodProxyResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_patch_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
optional: ConnectPatchNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPatchNamespacedPodProxyWithPathResponse>), RequestError>
[src]
name: &str,
namespace: &str,
path: &str,
optional: ConnectPatchNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPatchNamespacedPodProxyWithPathResponse>), RequestError>
connect PATCH requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectPatchNamespacedPodProxyWithPathResponse
>
constructor, or ConnectPatchNamespacedPodProxyWithPathResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
path
path to the resource
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_post_namespaced_pod_attach(
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodAttachOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodAttachResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodAttachOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodAttachResponse>), RequestError>
connect POST requests to attach of Pod
Use the returned crate::ResponseBody
<
ConnectPostNamespacedPodAttachResponse
>
constructor, or ConnectPostNamespacedPodAttachResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodAttachOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_post_namespaced_pod_exec(
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodExecOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodExecResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodExecOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodExecResponse>), RequestError>
connect POST requests to exec of Pod
Use the returned crate::ResponseBody
<
ConnectPostNamespacedPodExecResponse
>
constructor, or ConnectPostNamespacedPodExecResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodExecOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_post_namespaced_pod_portforward(
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodPortforwardOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodPortforwardResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodPortforwardOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodPortforwardResponse>), RequestError>
connect POST requests to portforward of Pod
Use the returned crate::ResponseBody
<
ConnectPostNamespacedPodPortforwardResponse
>
constructor, or ConnectPostNamespacedPodPortforwardResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodPortForwardOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_post_namespaced_pod_proxy(
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodProxyResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectPostNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodProxyResponse>), RequestError>
connect POST requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectPostNamespacedPodProxyResponse
>
constructor, or ConnectPostNamespacedPodProxyResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_post_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
optional: ConnectPostNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodProxyWithPathResponse>), RequestError>
[src]
name: &str,
namespace: &str,
path: &str,
optional: ConnectPostNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPostNamespacedPodProxyWithPathResponse>), RequestError>
connect POST requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectPostNamespacedPodProxyWithPathResponse
>
constructor, or ConnectPostNamespacedPodProxyWithPathResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
path
path to the resource
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_put_namespaced_pod_proxy(
name: &str,
namespace: &str,
optional: ConnectPutNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPutNamespacedPodProxyResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ConnectPutNamespacedPodProxyOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPutNamespacedPodProxyResponse>), RequestError>
connect PUT requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectPutNamespacedPodProxyResponse
>
constructor, or ConnectPutNamespacedPodProxyResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn connect_put_namespaced_pod_proxy_with_path(
name: &str,
namespace: &str,
path: &str,
optional: ConnectPutNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPutNamespacedPodProxyWithPathResponse>), RequestError>
[src]
name: &str,
namespace: &str,
path: &str,
optional: ConnectPutNamespacedPodProxyWithPathOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ConnectPutNamespacedPodProxyWithPathResponse>), RequestError>
connect PUT requests to proxy of Pod
Use the returned crate::ResponseBody
<
ConnectPutNamespacedPodProxyWithPathResponse
>
constructor, or ConnectPutNamespacedPodProxyWithPathResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the PodProxyOptions
-
namespace
object name and auth scope, such as for teams and projects
-
path
path to the resource
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn create_namespaced_pod(
namespace: &str,
body: &Pod,
optional: CreateNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedPodResponse>), RequestError>
[src]
namespace: &str,
body: &Pod,
optional: CreateNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedPodResponse>), RequestError>
create a Pod
Use the returned crate::ResponseBody
<
CreateNamespacedPodResponse
>
constructor, or CreateNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn delete_collection_namespaced_pod(
namespace: &str,
optional: DeleteCollectionNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionNamespacedPodResponse>), RequestError>
[src]
namespace: &str,
optional: DeleteCollectionNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionNamespacedPodResponse>), RequestError>
delete collection of Pod
Use the returned crate::ResponseBody
<
DeleteCollectionNamespacedPodResponse
>
constructor, or DeleteCollectionNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn delete_namespaced_pod(
name: &str,
namespace: &str,
optional: DeleteNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteNamespacedPodResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: DeleteNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteNamespacedPodResponse>), RequestError>
delete a Pod
Use the returned crate::ResponseBody
<
DeleteNamespacedPodResponse
>
constructor, or DeleteNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn list_namespaced_pod(
namespace: &str,
optional: ListNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListNamespacedPodResponse>), RequestError>
[src]
namespace: &str,
optional: ListNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListNamespacedPodResponse>), RequestError>
list or watch objects of kind Pod
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListNamespacedPodResponse
>
constructor, or ListNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn list_pod_for_all_namespaces(
optional: ListPodForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListPodForAllNamespacesResponse>), RequestError>
[src]
optional: ListPodForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListPodForAllNamespacesResponse>), RequestError>
list or watch objects of kind Pod
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListPodForAllNamespacesResponse
>
constructor, or ListPodForAllNamespacesResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn patch_namespaced_pod(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedPodResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedPodResponse>), RequestError>
partially update the specified Pod
Use the returned crate::ResponseBody
<
PatchNamespacedPodResponse
>
constructor, or PatchNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn patch_namespaced_pod_status(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedPodStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedPodStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedPodStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedPodStatusResponse>), RequestError>
partially update status of the specified Pod
Use the returned crate::ResponseBody
<
PatchNamespacedPodStatusResponse
>
constructor, or PatchNamespacedPodStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn read_namespaced_pod(
name: &str,
namespace: &str,
optional: ReadNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodResponse>), RequestError>
read the specified Pod
Use the returned crate::ResponseBody
<
ReadNamespacedPodResponse
>
constructor, or ReadNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn read_namespaced_pod_log(
name: &str,
namespace: &str,
optional: ReadNamespacedPodLogOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodLogResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedPodLogOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodLogResponse>), RequestError>
read log of the specified Pod
Use the returned crate::ResponseBody
<
ReadNamespacedPodLogResponse
>
constructor, or ReadNamespacedPodLogResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn read_namespaced_pod_status(
name: &str,
namespace: &str,
optional: ReadNamespacedPodStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedPodStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodStatusResponse>), RequestError>
read status of the specified Pod
Use the returned crate::ResponseBody
<
ReadNamespacedPodStatusResponse
>
constructor, or ReadNamespacedPodStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn replace_namespaced_pod(
name: &str,
namespace: &str,
body: &Pod,
optional: ReplaceNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedPodResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Pod,
optional: ReplaceNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedPodResponse>), RequestError>
replace the specified Pod
Use the returned crate::ResponseBody
<
ReplaceNamespacedPodResponse
>
constructor, or ReplaceNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn replace_namespaced_pod_status(
name: &str,
namespace: &str,
body: &Pod,
optional: ReplaceNamespacedPodStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedPodStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Pod,
optional: ReplaceNamespacedPodStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedPodStatusResponse>), RequestError>
replace status of the specified Pod
Use the returned crate::ResponseBody
<
ReplaceNamespacedPodStatusResponse
>
constructor, or ReplaceNamespacedPodStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Pod
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn watch_namespaced_pod(
namespace: &str,
optional: WatchNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchNamespacedPodResponse>), RequestError>
[src]
namespace: &str,
optional: WatchNamespacedPodOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchNamespacedPodResponse>), RequestError>
list or watch objects of kind Pod
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchNamespacedPodResponse
>
constructor, or WatchNamespacedPodResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Pod
[src]
pub fn watch_pod_for_all_namespaces(
optional: WatchPodForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchPodForAllNamespacesResponse>), RequestError>
[src]
optional: WatchPodForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchPodForAllNamespacesResponse>), RequestError>
list or watch objects of kind Pod
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchPodForAllNamespacesResponse
>
constructor, or WatchPodForAllNamespacesResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Resource for Pod
[src]
fn api_version() -> &'static str
[src]
fn group() -> &'static str
[src]
fn kind() -> &'static str
[src]
fn version() -> &'static str
[src]
impl Metadata for Pod
[src]
impl Clone for Pod
[src]
fn clone(&self) -> Pod
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Pod> for Pod
[src]
impl Default for Pod
[src]
impl Debug for Pod
[src]
impl Serialize for Pod
[src]
impl<'de> Deserialize<'de> for Pod
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,