[−][src]Struct k8s_openapi::api::admissionregistration::v1beta1::MutatingWebhookConfiguration
MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
Fields
metadata: Option<ObjectMeta>
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
webhooks: Option<Vec<MutatingWebhook>>
Webhooks is a list of webhooks and the affected resources and operations.
Methods
impl MutatingWebhookConfiguration
[src]
pub fn create_mutating_webhook_configuration(
body: &MutatingWebhookConfiguration,
optional: CreateMutatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateMutatingWebhookConfigurationResponse>), RequestError>
[src]
body: &MutatingWebhookConfiguration,
optional: CreateMutatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateMutatingWebhookConfigurationResponse>), RequestError>
create a MutatingWebhookConfiguration
Use the returned crate::ResponseBody
<
CreateMutatingWebhookConfigurationResponse
>
constructor, or CreateMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl MutatingWebhookConfiguration
[src]
pub fn delete_collection_mutating_webhook_configuration(
delete_optional: DeleteOptional,
list_optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionMutatingWebhookConfigurationResponse>), RequestError>
[src]
delete_optional: DeleteOptional,
list_optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionMutatingWebhookConfigurationResponse>), RequestError>
delete collection of MutatingWebhookConfiguration
Use the returned crate::ResponseBody
<
DeleteCollectionMutatingWebhookConfigurationResponse
>
constructor, or DeleteCollectionMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
delete_optional
Delete options. Use
Default::default()
to not pass any. -
list_optional
List options. Use
Default::default()
to not pass any.
impl MutatingWebhookConfiguration
[src]
pub fn delete_mutating_webhook_configuration(
name: &str,
optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteMutatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteMutatingWebhookConfigurationResponse>), RequestError>
delete a MutatingWebhookConfiguration
Use the returned crate::ResponseBody
<
DeleteMutatingWebhookConfigurationResponse
>
constructor, or DeleteMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the MutatingWebhookConfiguration
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl MutatingWebhookConfiguration
[src]
pub fn list_mutating_webhook_configuration(
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListMutatingWebhookConfigurationResponse>), RequestError>
[src]
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListMutatingWebhookConfigurationResponse>), RequestError>
list or watch objects of kind MutatingWebhookConfiguration
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListMutatingWebhookConfigurationResponse
>
constructor, or ListMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl MutatingWebhookConfiguration
[src]
pub fn patch_mutating_webhook_configuration(
name: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchMutatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchMutatingWebhookConfigurationResponse>), RequestError>
partially update the specified MutatingWebhookConfiguration
Use the returned crate::ResponseBody
<
PatchMutatingWebhookConfigurationResponse
>
constructor, or PatchMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the MutatingWebhookConfiguration
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl MutatingWebhookConfiguration
[src]
pub fn read_mutating_webhook_configuration(
name: &str,
optional: ReadMutatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadMutatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
optional: ReadMutatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadMutatingWebhookConfigurationResponse>), RequestError>
read the specified MutatingWebhookConfiguration
Use the returned crate::ResponseBody
<
ReadMutatingWebhookConfigurationResponse
>
constructor, or ReadMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the MutatingWebhookConfiguration
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl MutatingWebhookConfiguration
[src]
pub fn replace_mutating_webhook_configuration(
name: &str,
body: &MutatingWebhookConfiguration,
optional: ReplaceMutatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceMutatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
body: &MutatingWebhookConfiguration,
optional: ReplaceMutatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceMutatingWebhookConfigurationResponse>), RequestError>
replace the specified MutatingWebhookConfiguration
Use the returned crate::ResponseBody
<
ReplaceMutatingWebhookConfigurationResponse
>
constructor, or ReplaceMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the MutatingWebhookConfiguration
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl MutatingWebhookConfiguration
[src]
pub fn watch_mutating_webhook_configuration(
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchMutatingWebhookConfigurationResponse>), RequestError>
[src]
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchMutatingWebhookConfigurationResponse>), RequestError>
list or watch objects of kind MutatingWebhookConfiguration
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchMutatingWebhookConfigurationResponse
>
constructor, or WatchMutatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Resource for MutatingWebhookConfiguration
[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 MutatingWebhookConfiguration
[src]
impl Default for MutatingWebhookConfiguration
[src]
impl Clone for MutatingWebhookConfiguration
[src]
fn clone(&self) -> MutatingWebhookConfiguration
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<MutatingWebhookConfiguration> for MutatingWebhookConfiguration
[src]
fn eq(&self, other: &MutatingWebhookConfiguration) -> bool
[src]
fn ne(&self, other: &MutatingWebhookConfiguration) -> bool
[src]
impl Debug for MutatingWebhookConfiguration
[src]
impl Serialize for MutatingWebhookConfiguration
[src]
impl<'de> Deserialize<'de> for MutatingWebhookConfiguration
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for MutatingWebhookConfiguration
impl Sync for MutatingWebhookConfiguration
impl Send for MutatingWebhookConfiguration
impl UnwindSafe for MutatingWebhookConfiguration
impl RefUnwindSafe for MutatingWebhookConfiguration
Blanket Implementations
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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>,