[−][src]Struct k8s_openapi::api::core::v1::ComponentStatus
ComponentStatus (and ComponentStatusList) holds the cluster validation info.
Fields
conditions: Option<Vec<ComponentCondition>>List of component conditions observed
metadata: Option<ObjectMeta>Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
Methods
impl ComponentStatus[src]
pub fn list_component_status(
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListComponentStatusResponse>), RequestError>[src]
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListComponentStatusResponse>), RequestError>
list objects of kind ComponentStatus
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody<ListComponentStatusResponse> constructor, or ListComponentStatusResponse directly, to parse the HTTP response.
Arguments
-
optionalOptional parameters. Use
Default::default()to not pass any.
impl ComponentStatus[src]
pub fn read_component_status(
name: &str,
optional: ReadComponentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadComponentStatusResponse>), RequestError>[src]
name: &str,
optional: ReadComponentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadComponentStatusResponse>), RequestError>
read the specified ComponentStatus
Use the returned crate::ResponseBody<ReadComponentStatusResponse> constructor, or ReadComponentStatusResponse directly, to parse the HTTP response.
Arguments
-
namename of the ComponentStatus
-
optionalOptional parameters. Use
Default::default()to not pass any.
impl ComponentStatus[src]
pub fn watch_component_status(
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchComponentStatusResponse>), RequestError>[src]
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchComponentStatusResponse>), RequestError>
list objects of kind ComponentStatus
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody<WatchComponentStatusResponse> constructor, or WatchComponentStatusResponse directly, to parse the HTTP response.
Arguments
-
optionalOptional parameters. Use
Default::default()to not pass any.
Trait Implementations
impl Resource for ComponentStatus[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 ComponentStatus[src]
impl Default for ComponentStatus[src]
fn default() -> ComponentStatus[src]
impl Clone for ComponentStatus[src]
fn clone(&self) -> ComponentStatus[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<ComponentStatus> for ComponentStatus[src]
fn eq(&self, other: &ComponentStatus) -> bool[src]
fn ne(&self, other: &ComponentStatus) -> bool[src]
impl Debug for ComponentStatus[src]
impl Serialize for ComponentStatus[src]
impl<'de> Deserialize<'de> for ComponentStatus[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for ComponentStatus
impl Unpin for ComponentStatus
impl Send for ComponentStatus
impl UnwindSafe for ComponentStatus
impl RefUnwindSafe for ComponentStatus
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,