[−][src]Struct k8s_openapi::api::apps::v1::DaemonSet
DaemonSet represents the configuration of a daemon set.
Fields
metadata: Option<ObjectMeta>
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
spec: Option<DaemonSetSpec>
The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
status: Option<DaemonSetStatus>
The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
Methods
impl DaemonSet
[src]
pub fn create_namespaced_daemon_set(
namespace: &str,
body: &DaemonSet,
optional: CreateNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedDaemonSetResponse>), RequestError>
[src]
namespace: &str,
body: &DaemonSet,
optional: CreateNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedDaemonSetResponse>), RequestError>
create a DaemonSet
Use the returned crate::ResponseBody
<
CreateNamespacedDaemonSetResponse
>
constructor, or CreateNamespacedDaemonSetResponse
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 DaemonSet
[src]
pub fn delete_collection_namespaced_daemon_set(
namespace: &str,
optional: DeleteCollectionNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionNamespacedDaemonSetResponse>), RequestError>
[src]
namespace: &str,
optional: DeleteCollectionNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionNamespacedDaemonSetResponse>), RequestError>
delete collection of DaemonSet
Use the returned crate::ResponseBody
<
DeleteCollectionNamespacedDaemonSetResponse
>
constructor, or DeleteCollectionNamespacedDaemonSetResponse
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 DaemonSet
[src]
pub fn delete_namespaced_daemon_set(
name: &str,
namespace: &str,
optional: DeleteNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteNamespacedDaemonSetResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: DeleteNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteNamespacedDaemonSetResponse>), RequestError>
delete a DaemonSet
Use the returned crate::ResponseBody
<
DeleteNamespacedDaemonSetResponse
>
constructor, or DeleteNamespacedDaemonSetResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the DaemonSet
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn list_daemon_set_for_all_namespaces(
optional: ListDaemonSetForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListDaemonSetForAllNamespacesResponse>), RequestError>
[src]
optional: ListDaemonSetForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListDaemonSetForAllNamespacesResponse>), RequestError>
list or watch objects of kind DaemonSet
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListDaemonSetForAllNamespacesResponse
>
constructor, or ListDaemonSetForAllNamespacesResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn list_namespaced_daemon_set(
namespace: &str,
optional: ListNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListNamespacedDaemonSetResponse>), RequestError>
[src]
namespace: &str,
optional: ListNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListNamespacedDaemonSetResponse>), RequestError>
list or watch objects of kind DaemonSet
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListNamespacedDaemonSetResponse
>
constructor, or ListNamespacedDaemonSetResponse
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 DaemonSet
[src]
pub fn patch_namespaced_daemon_set(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDaemonSetResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDaemonSetResponse>), RequestError>
partially update the specified DaemonSet
Use the returned crate::ResponseBody
<
PatchNamespacedDaemonSetResponse
>
constructor, or PatchNamespacedDaemonSetResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the DaemonSet
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn patch_namespaced_daemon_set_status(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDaemonSetStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDaemonSetStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDaemonSetStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDaemonSetStatusResponse>), RequestError>
partially update status of the specified DaemonSet
Use the returned crate::ResponseBody
<
PatchNamespacedDaemonSetStatusResponse
>
constructor, or PatchNamespacedDaemonSetStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the DaemonSet
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn read_namespaced_daemon_set(
name: &str,
namespace: &str,
optional: ReadNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDaemonSetResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDaemonSetResponse>), RequestError>
read the specified DaemonSet
Use the returned crate::ResponseBody
<
ReadNamespacedDaemonSetResponse
>
constructor, or ReadNamespacedDaemonSetResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the DaemonSet
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn read_namespaced_daemon_set_status(
name: &str,
namespace: &str,
optional: ReadNamespacedDaemonSetStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDaemonSetStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedDaemonSetStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDaemonSetStatusResponse>), RequestError>
read status of the specified DaemonSet
Use the returned crate::ResponseBody
<
ReadNamespacedDaemonSetStatusResponse
>
constructor, or ReadNamespacedDaemonSetStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the DaemonSet
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn replace_namespaced_daemon_set(
name: &str,
namespace: &str,
body: &DaemonSet,
optional: ReplaceNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDaemonSetResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &DaemonSet,
optional: ReplaceNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDaemonSetResponse>), RequestError>
replace the specified DaemonSet
Use the returned crate::ResponseBody
<
ReplaceNamespacedDaemonSetResponse
>
constructor, or ReplaceNamespacedDaemonSetResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the DaemonSet
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn replace_namespaced_daemon_set_status(
name: &str,
namespace: &str,
body: &DaemonSet,
optional: ReplaceNamespacedDaemonSetStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDaemonSetStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &DaemonSet,
optional: ReplaceNamespacedDaemonSetStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDaemonSetStatusResponse>), RequestError>
replace status of the specified DaemonSet
Use the returned crate::ResponseBody
<
ReplaceNamespacedDaemonSetStatusResponse
>
constructor, or ReplaceNamespacedDaemonSetStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the DaemonSet
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn watch_daemon_set_for_all_namespaces(
optional: WatchDaemonSetForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchDaemonSetForAllNamespacesResponse>), RequestError>
[src]
optional: WatchDaemonSetForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchDaemonSetForAllNamespacesResponse>), RequestError>
list or watch objects of kind DaemonSet
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchDaemonSetForAllNamespacesResponse
>
constructor, or WatchDaemonSetForAllNamespacesResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl DaemonSet
[src]
pub fn watch_namespaced_daemon_set(
namespace: &str,
optional: WatchNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchNamespacedDaemonSetResponse>), RequestError>
[src]
namespace: &str,
optional: WatchNamespacedDaemonSetOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchNamespacedDaemonSetResponse>), RequestError>
list or watch objects of kind DaemonSet
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchNamespacedDaemonSetResponse
>
constructor, or WatchNamespacedDaemonSetResponse
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.
Trait Implementations
impl Resource for DaemonSet
[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 DaemonSet
[src]
impl Clone for DaemonSet
[src]
fn clone(&self) -> DaemonSet
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<DaemonSet> for DaemonSet
[src]
impl Default for DaemonSet
[src]
impl Debug for DaemonSet
[src]
impl Serialize for DaemonSet
[src]
impl<'de> Deserialize<'de> for DaemonSet
[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>,