Struct k8s_openapi::api::core::v1::EphemeralContainers [−][src]
pub struct EphemeralContainers { pub ephemeral_containers: Vec<EphemeralContainer>, pub metadata: ObjectMeta, }
Expand description
A list of ephemeral containers used with the Pod ephemeralcontainers subresource.
Fields
ephemeral_containers: Vec<EphemeralContainer>
A list of ephemeral containers associated with this pod. New ephemeral containers may be appended to this list, but existing ephemeral containers may not be removed or modified.
metadata: ObjectMeta
Implementations
pub fn patch_namespaced_pod_ephemeralcontainers(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchResponse<Self>>), RequestError>
[src]
pub fn patch_namespaced_pod_ephemeralcontainers(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchResponse<Self>>), RequestError>
[src]partially update ephemeralcontainers of the specified Pod
Use the returned crate::ResponseBody
<
crate::PatchResponse
<Self>>
constructor, or crate::PatchResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
name
name of the EphemeralContainers
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
pub fn read_namespaced_pod_ephemeralcontainers(
name: &str,
namespace: &str,
optional: ReadNamespacedPodEphemeralcontainersOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodEphemeralcontainersResponse>), RequestError>
[src]
pub fn read_namespaced_pod_ephemeralcontainers(
name: &str,
namespace: &str,
optional: ReadNamespacedPodEphemeralcontainersOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedPodEphemeralcontainersResponse>), RequestError>
[src]read ephemeralcontainers of the specified Pod
Use the returned crate::ResponseBody
<
ReadNamespacedPodEphemeralcontainersResponse
>
constructor, or ReadNamespacedPodEphemeralcontainersResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the EphemeralContainers
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
pub fn replace_namespaced_pod_ephemeralcontainers(
name: &str,
namespace: &str,
body: &EphemeralContainers,
optional: ReplaceOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceResponse<Self>>), RequestError>
[src]
pub fn replace_namespaced_pod_ephemeralcontainers(
name: &str,
namespace: &str,
body: &EphemeralContainers,
optional: ReplaceOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceResponse<Self>>), RequestError>
[src]replace ephemeralcontainers of the specified Pod
Use the returned crate::ResponseBody
<
crate::ReplaceResponse
<Self>>
constructor, or crate::ReplaceResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
name
name of the EphemeralContainers
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
type Ty = ObjectMeta
type Ty = ObjectMeta
The type of the metadata object.
Gets a reference to the metadata of this resource value.
Gets a mutable reference to the metadata of this resource value.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
The API version of the resource. This is a composite of Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read more
The group of the resource, or the empty string if the resource doesn’t have a group.
The URL path segment used to construct URLs related to this resource. Read more
type Scope = SubResourceScope
type Scope = SubResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
Auto Trait Implementations
impl RefUnwindSafe for EphemeralContainers
impl Send for EphemeralContainers
impl Sync for EphemeralContainers
impl Unpin for EphemeralContainers
impl UnwindSafe for EphemeralContainers
Blanket Implementations
Mutably borrows from an owned value. Read more