[−][src]Struct k8s_openapi::kube_aggregator::pkg::apis::apiregistration::v1::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 -
optionalOptional parameters. Use
Default::default()to not pass any.
impl APIService[src]
pub fn delete_api_service(
name: &str,
optional: DeleteAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteAPIServiceResponse>), RequestError>[src]
name: &str,
optional: DeleteAPIServiceOptional
) -> 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
-
namename of the APIService
-
optionalOptional parameters. Use
Default::default()to not pass any.
impl APIService[src]
pub fn delete_collection_api_service(
optional: DeleteCollectionAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionAPIServiceResponse>), RequestError>[src]
optional: DeleteCollectionAPIServiceOptional
) -> 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
-
optionalOptional parameters. Use
Default::default()to not pass any.
impl APIService[src]
pub fn list_api_service(
optional: ListAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListAPIServiceResponse>), RequestError>[src]
optional: ListAPIServiceOptional
) -> 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
-
optionalOptional parameters. Use
Default::default()to not pass any.
impl APIService[src]
pub fn patch_api_service(
name: &str,
body: &Patch,
optional: PatchAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchAPIServiceResponse>), RequestError>[src]
name: &str,
body: &Patch,
optional: PatchAPIServiceOptional
) -> 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
-
namename of the APIService
-
body -
optionalOptional parameters. Use
Default::default()to not pass any.
impl APIService[src]
pub fn patch_api_service_status(
name: &str,
body: &Patch,
optional: PatchAPIServiceStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchAPIServiceStatusResponse>), RequestError>[src]
name: &str,
body: &Patch,
optional: PatchAPIServiceStatusOptional
) -> 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
-
namename of the APIService
-
body -
optionalOptional 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
-
namename of the APIService
-
optionalOptional 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
-
namename of the APIService
-
optionalOptional 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
-
namename of the APIService
-
body -
optionalOptional 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
-
namename of the APIService
-
body -
optionalOptional parameters. Use
Default::default()to not pass any.
impl APIService[src]
pub fn watch_api_service(
optional: WatchAPIServiceOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchAPIServiceResponse>), RequestError>[src]
optional: WatchAPIServiceOptional
) -> 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
-
optionalOptional 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 PartialEq<APIService> for APIService[src]
fn eq(&self, other: &APIService) -> bool[src]
fn ne(&self, other: &APIService) -> bool[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]
Performs copy-assignment from source. Read more
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 Send for APIService
impl Sync for APIService
Blanket Implementations
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> From for T[src]
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> 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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,