[][src]Struct k8s_openapi::api::certificates::v1beta1::CertificateSigningRequest

pub struct CertificateSigningRequest {
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<CertificateSigningRequestSpec>,
    pub status: Option<CertificateSigningRequestStatus>,
}

Describes a certificate signing request

Fields

metadata: Option<ObjectMeta>spec: Option<CertificateSigningRequestSpec>

The certificate request itself and any additional information.

status: Option<CertificateSigningRequestStatus>

Derived information about the request.

Methods

impl CertificateSigningRequest[src]

pub fn create_certificate_signing_request(
    body: &CertificateSigningRequest,
    optional: CreateCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateCertificateSigningRequestResponse>), RequestError>
[src]

create a CertificateSigningRequest

Use the returned crate::ResponseBody<CreateCertificateSigningRequestResponse> constructor, or CreateCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn delete_certificate_signing_request(
    name: &str,
    optional: DeleteCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCertificateSigningRequestResponse>), RequestError>
[src]

delete a CertificateSigningRequest

Use the returned crate::ResponseBody<DeleteCertificateSigningRequestResponse> constructor, or DeleteCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn delete_collection_certificate_signing_request(
    optional: DeleteCollectionCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionCertificateSigningRequestResponse>), RequestError>
[src]

delete collection of CertificateSigningRequest

Use the returned crate::ResponseBody<DeleteCollectionCertificateSigningRequestResponse> constructor, or DeleteCollectionCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn list_certificate_signing_request(
    optional: ListCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListCertificateSigningRequestResponse>), RequestError>
[src]

list or watch objects of kind CertificateSigningRequest

This operation only supports listing all items of this type.

Use the returned crate::ResponseBody<ListCertificateSigningRequestResponse> constructor, or ListCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn patch_certificate_signing_request(
    name: &str,
    body: &Patch,
    optional: PatchCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchCertificateSigningRequestResponse>), RequestError>
[src]

partially update the specified CertificateSigningRequest

Use the returned crate::ResponseBody<PatchCertificateSigningRequestResponse> constructor, or PatchCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn patch_certificate_signing_request_status(
    name: &str,
    body: &Patch,
    optional: PatchCertificateSigningRequestStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchCertificateSigningRequestStatusResponse>), RequestError>
[src]

partially update status of the specified CertificateSigningRequest

Use the returned crate::ResponseBody<PatchCertificateSigningRequestStatusResponse> constructor, or PatchCertificateSigningRequestStatusResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn read_certificate_signing_request(
    name: &str,
    optional: ReadCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadCertificateSigningRequestResponse>), RequestError>
[src]

read the specified CertificateSigningRequest

Use the returned crate::ResponseBody<ReadCertificateSigningRequestResponse> constructor, or ReadCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn read_certificate_signing_request_status(
    name: &str,
    optional: ReadCertificateSigningRequestStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadCertificateSigningRequestStatusResponse>), RequestError>
[src]

read status of the specified CertificateSigningRequest

Use the returned crate::ResponseBody<ReadCertificateSigningRequestStatusResponse> constructor, or ReadCertificateSigningRequestStatusResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn replace_certificate_signing_request(
    name: &str,
    body: &CertificateSigningRequest,
    optional: ReplaceCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceCertificateSigningRequestResponse>), RequestError>
[src]

replace the specified CertificateSigningRequest

Use the returned crate::ResponseBody<ReplaceCertificateSigningRequestResponse> constructor, or ReplaceCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn replace_certificate_signing_request_approval(
    name: &str,
    body: &CertificateSigningRequest,
    optional: ReplaceCertificateSigningRequestApprovalOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceCertificateSigningRequestApprovalResponse>), RequestError>
[src]

replace approval of the specified CertificateSigningRequest

Use the returned crate::ResponseBody<ReplaceCertificateSigningRequestApprovalResponse> constructor, or ReplaceCertificateSigningRequestApprovalResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn replace_certificate_signing_request_status(
    name: &str,
    body: &CertificateSigningRequest,
    optional: ReplaceCertificateSigningRequestStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceCertificateSigningRequestStatusResponse>), RequestError>
[src]

replace status of the specified CertificateSigningRequest

Use the returned crate::ResponseBody<ReplaceCertificateSigningRequestStatusResponse> constructor, or ReplaceCertificateSigningRequestStatusResponse directly, to parse the HTTP response.

Arguments

  • name

    name of the CertificateSigningRequest

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

impl CertificateSigningRequest[src]

pub fn watch_certificate_signing_request(
    optional: WatchCertificateSigningRequestOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchCertificateSigningRequestResponse>), RequestError>
[src]

list or watch objects of kind CertificateSigningRequest

This operation only supports watching one item, or a list of items, of this type for changes.

Use the returned crate::ResponseBody<WatchCertificateSigningRequestResponse> constructor, or WatchCertificateSigningRequestResponse directly, to parse the HTTP response.

Arguments

  • optional

    Optional parameters. Use Default::default() to not pass any.

Trait Implementations

impl Resource for CertificateSigningRequest[src]

impl Metadata for CertificateSigningRequest[src]

type Ty = ObjectMeta

The type of the metadata object.

impl Clone for CertificateSigningRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<CertificateSigningRequest> for CertificateSigningRequest[src]

impl Default for CertificateSigningRequest[src]

impl Debug for CertificateSigningRequest[src]

impl Serialize for CertificateSigningRequest[src]

impl<'de> Deserialize<'de> for CertificateSigningRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]