[−][src]Struct k8s_openapi::api::admissionregistration::v1beta1::ValidatingWebhookConfiguration
ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
Fields
metadata: Option<ObjectMeta>
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
webhooks: Option<Vec<Webhook>>
Webhooks is a list of webhooks and the affected resources and operations.
Methods
impl ValidatingWebhookConfiguration
[src]
pub fn create_validating_webhook_configuration(
body: &ValidatingWebhookConfiguration,
optional: CreateValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateValidatingWebhookConfigurationResponse>), RequestError>
[src]
body: &ValidatingWebhookConfiguration,
optional: CreateValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateValidatingWebhookConfigurationResponse>), RequestError>
create a ValidatingWebhookConfiguration
Use the returned crate::ResponseBody
<
CreateValidatingWebhookConfigurationResponse
>
constructor, or CreateValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ValidatingWebhookConfiguration
[src]
pub fn delete_collection_validating_webhook_configuration(
optional: DeleteCollectionValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionValidatingWebhookConfigurationResponse>), RequestError>
[src]
optional: DeleteCollectionValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionValidatingWebhookConfigurationResponse>), RequestError>
delete collection of ValidatingWebhookConfiguration
Use the returned crate::ResponseBody
<
DeleteCollectionValidatingWebhookConfigurationResponse
>
constructor, or DeleteCollectionValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ValidatingWebhookConfiguration
[src]
pub fn delete_validating_webhook_configuration(
name: &str,
optional: DeleteValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteValidatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
optional: DeleteValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteValidatingWebhookConfigurationResponse>), RequestError>
delete a ValidatingWebhookConfiguration
Use the returned crate::ResponseBody
<
DeleteValidatingWebhookConfigurationResponse
>
constructor, or DeleteValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the ValidatingWebhookConfiguration
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ValidatingWebhookConfiguration
[src]
pub fn list_validating_webhook_configuration(
optional: ListValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListValidatingWebhookConfigurationResponse>), RequestError>
[src]
optional: ListValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListValidatingWebhookConfigurationResponse>), RequestError>
list or watch objects of kind ValidatingWebhookConfiguration
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListValidatingWebhookConfigurationResponse
>
constructor, or ListValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ValidatingWebhookConfiguration
[src]
pub fn patch_validating_webhook_configuration(
name: &str,
body: &Patch,
optional: PatchValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchValidatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
body: &Patch,
optional: PatchValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchValidatingWebhookConfigurationResponse>), RequestError>
partially update the specified ValidatingWebhookConfiguration
Use the returned crate::ResponseBody
<
PatchValidatingWebhookConfigurationResponse
>
constructor, or PatchValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the ValidatingWebhookConfiguration
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ValidatingWebhookConfiguration
[src]
pub fn read_validating_webhook_configuration(
name: &str,
optional: ReadValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadValidatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
optional: ReadValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadValidatingWebhookConfigurationResponse>), RequestError>
read the specified ValidatingWebhookConfiguration
Use the returned crate::ResponseBody
<
ReadValidatingWebhookConfigurationResponse
>
constructor, or ReadValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the ValidatingWebhookConfiguration
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ValidatingWebhookConfiguration
[src]
pub fn replace_validating_webhook_configuration(
name: &str,
body: &ValidatingWebhookConfiguration,
optional: ReplaceValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceValidatingWebhookConfigurationResponse>), RequestError>
[src]
name: &str,
body: &ValidatingWebhookConfiguration,
optional: ReplaceValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceValidatingWebhookConfigurationResponse>), RequestError>
replace the specified ValidatingWebhookConfiguration
Use the returned crate::ResponseBody
<
ReplaceValidatingWebhookConfigurationResponse
>
constructor, or ReplaceValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the ValidatingWebhookConfiguration
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl ValidatingWebhookConfiguration
[src]
pub fn watch_validating_webhook_configuration(
optional: WatchValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchValidatingWebhookConfigurationResponse>), RequestError>
[src]
optional: WatchValidatingWebhookConfigurationOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchValidatingWebhookConfigurationResponse>), RequestError>
list or watch objects of kind ValidatingWebhookConfiguration
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchValidatingWebhookConfigurationResponse
>
constructor, or WatchValidatingWebhookConfigurationResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Resource for ValidatingWebhookConfiguration
[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 ValidatingWebhookConfiguration
[src]
impl Clone for ValidatingWebhookConfiguration
[src]
fn clone(&self) -> ValidatingWebhookConfiguration
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<ValidatingWebhookConfiguration> for ValidatingWebhookConfiguration
[src]
fn eq(&self, other: &ValidatingWebhookConfiguration) -> bool
[src]
fn ne(&self, other: &ValidatingWebhookConfiguration) -> bool
[src]
impl Default for ValidatingWebhookConfiguration
[src]
impl Debug for ValidatingWebhookConfiguration
[src]
impl Serialize for ValidatingWebhookConfiguration
[src]
impl<'de> Deserialize<'de> for ValidatingWebhookConfiguration
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ValidatingWebhookConfiguration
impl Sync for ValidatingWebhookConfiguration
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>,