[−][src]Struct k8s_openapi::kube_aggregator::pkg::apis::apiregistration::v1beta1::APIService
APIService represents a server for a particular GroupVersion. Name must be "version.group".
Fields
metadata: Option<ObjectMeta>
spec: Option<APIServiceSpec>
Spec contains information for locating and communicating with a server
status: Option<APIServiceStatus>
Status contains derived information about an API server
Methods
impl APIService
[src]
pub fn create_api_service(
body: &APIService,
optional: CreateAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateAPIServiceResponse>), RequestError>
[src]
body: &APIService,
optional: CreateAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateAPIServiceResponse>), RequestError>
create an APIService
Use the returned crate::ResponseBody
<
CreateAPIServiceResponse
>
constructor, or CreateAPIServiceResponse
directly, to parse the HTTP response.
Arguments
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn delete_api_service(
name: &str,
optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteAPIServiceResponse>), RequestError>
[src]
name: &str,
optional: DeleteOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteAPIServiceResponse>), RequestError>
delete an APIService
Use the returned crate::ResponseBody
<
DeleteAPIServiceResponse
>
constructor, or DeleteAPIServiceResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the APIService
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn delete_collection_api_service(
delete_optional: DeleteOptional,
list_optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionAPIServiceResponse>), RequestError>
[src]
delete_optional: DeleteOptional,
list_optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionAPIServiceResponse>), RequestError>
delete collection of APIService
Use the returned crate::ResponseBody
<
DeleteCollectionAPIServiceResponse
>
constructor, or DeleteCollectionAPIServiceResponse
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 APIService
[src]
pub fn list_api_service(
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListAPIServiceResponse>), RequestError>
[src]
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListAPIServiceResponse>), RequestError>
list or watch objects of kind APIService
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListAPIServiceResponse
>
constructor, or ListAPIServiceResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn patch_api_service(
name: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchAPIServiceResponse>), RequestError>
[src]
name: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchAPIServiceResponse>), RequestError>
partially update the specified APIService
Use the returned crate::ResponseBody
<
PatchAPIServiceResponse
>
constructor, or PatchAPIServiceResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the APIService
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn patch_api_service_status(
name: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchAPIServiceStatusResponse>), RequestError>
[src]
name: &str,
body: &Patch,
optional: PatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchAPIServiceStatusResponse>), RequestError>
partially update status of the specified APIService
Use the returned crate::ResponseBody
<
PatchAPIServiceStatusResponse
>
constructor, or PatchAPIServiceStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the APIService
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn read_api_service(
name: &str,
optional: ReadAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadAPIServiceResponse>), RequestError>
[src]
name: &str,
optional: ReadAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadAPIServiceResponse>), RequestError>
read the specified APIService
Use the returned crate::ResponseBody
<
ReadAPIServiceResponse
>
constructor, or ReadAPIServiceResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the APIService
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn read_api_service_status(
name: &str,
optional: ReadAPIServiceStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadAPIServiceStatusResponse>), RequestError>
[src]
name: &str,
optional: ReadAPIServiceStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadAPIServiceStatusResponse>), RequestError>
read status of the specified APIService
Use the returned crate::ResponseBody
<
ReadAPIServiceStatusResponse
>
constructor, or ReadAPIServiceStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the APIService
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn replace_api_service(
name: &str,
body: &APIService,
optional: ReplaceAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceAPIServiceResponse>), RequestError>
[src]
name: &str,
body: &APIService,
optional: ReplaceAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceAPIServiceResponse>), RequestError>
replace the specified APIService
Use the returned crate::ResponseBody
<
ReplaceAPIServiceResponse
>
constructor, or ReplaceAPIServiceResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the APIService
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn replace_api_service_status(
name: &str,
body: &APIService,
optional: ReplaceAPIServiceStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceAPIServiceStatusResponse>), RequestError>
[src]
name: &str,
body: &APIService,
optional: ReplaceAPIServiceStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceAPIServiceStatusResponse>), RequestError>
replace status of the specified APIService
Use the returned crate::ResponseBody
<
ReplaceAPIServiceStatusResponse
>
constructor, or ReplaceAPIServiceStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the APIService
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl APIService
[src]
pub fn watch_api_service(
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchAPIServiceResponse>), RequestError>
[src]
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchAPIServiceResponse>), RequestError>
list or watch objects of kind APIService
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchAPIServiceResponse
>
constructor, or WatchAPIServiceResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Resource for APIService
[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 APIService
[src]
impl Default for APIService
[src]
fn default() -> APIService
[src]
impl Clone for APIService
[src]
fn clone(&self) -> APIService
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<APIService> for APIService
[src]
fn eq(&self, other: &APIService) -> bool
[src]
fn ne(&self, other: &APIService) -> bool
[src]
impl Debug for APIService
[src]
impl Serialize for APIService
[src]
impl<'de> Deserialize<'de> for APIService
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for APIService
impl Sync for APIService
impl Send for APIService
impl UnwindSafe for APIService
impl RefUnwindSafe for APIService
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>,