[−][src]Struct openshift_openapi::api::quota::v1::AppliedClusterResourceQuota
AppliedClusterResourceQuota mirrors ClusterResourceQuota at a project scope, for projection into a project. It allows a project-admin to know which ClusterResourceQuotas are applied to his project and their associated usage.
Fields
metadata: ObjectMeta
Standard object's metadata.
spec: ClusterResourceQuotaSpec
Spec defines the desired quota
status: Option<ClusterResourceQuotaStatus>
Status defines the actual enforced quota and its current usage
Implementations
impl AppliedClusterResourceQuota
[src]
pub fn list_applied_cluster_resource_quota_for_all_namespaces(
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
[src]
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
list objects of kind AppliedClusterResourceQuota
This operation only supports listing all items of this type.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::ListResponse
<Self>>
constructor, or k8s_openapi::ListResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl AppliedClusterResourceQuota
[src]
pub fn list_namespaced_applied_cluster_resource_quota(
namespace: &str,
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
[src]
namespace: &str,
optional: ListOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListResponse<Self>>), RequestError>
list objects of kind AppliedClusterResourceQuota
This operation only supports listing all items of this type.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::ListResponse
<Self>>
constructor, or k8s_openapi::ListResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl AppliedClusterResourceQuota
[src]
pub fn read_namespaced_applied_cluster_resource_quota(
name: &str,
namespace: &str,
optional: ReadNamespacedAppliedClusterResourceQuotaOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedAppliedClusterResourceQuotaResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedAppliedClusterResourceQuotaOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedAppliedClusterResourceQuotaResponse>), RequestError>
read the specified AppliedClusterResourceQuota
Use the returned k8s_openapi::ResponseBody
<
ReadNamespacedAppliedClusterResourceQuotaResponse
>
constructor, or ReadNamespacedAppliedClusterResourceQuotaResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the AppliedClusterResourceQuota
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl AppliedClusterResourceQuota
[src]
pub fn watch_applied_cluster_resource_quota_for_all_namespaces(
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
[src]
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
list objects of kind AppliedClusterResourceQuota
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::WatchResponse
<Self>>
constructor, or k8s_openapi::WatchResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl AppliedClusterResourceQuota
[src]
pub fn watch_namespaced_applied_cluster_resource_quota(
namespace: &str,
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
[src]
namespace: &str,
optional: WatchOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchResponse<Self>>), RequestError>
list objects of kind AppliedClusterResourceQuota
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::WatchResponse
<Self>>
constructor, or k8s_openapi::WatchResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Clone for AppliedClusterResourceQuota
[src]
fn clone(&self) -> AppliedClusterResourceQuota
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AppliedClusterResourceQuota
[src]
impl Default for AppliedClusterResourceQuota
[src]
impl<'de> Deserialize<'de> for AppliedClusterResourceQuota
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl ListableResource for AppliedClusterResourceQuota
[src]
impl Metadata for AppliedClusterResourceQuota
[src]
impl PartialEq<AppliedClusterResourceQuota> for AppliedClusterResourceQuota
[src]
fn eq(&self, other: &AppliedClusterResourceQuota) -> bool
[src]
fn ne(&self, other: &AppliedClusterResourceQuota) -> bool
[src]
impl Resource for AppliedClusterResourceQuota
[src]
const API_VERSION: &'static str
[src]
const GROUP: &'static str
[src]
const KIND: &'static str
[src]
const VERSION: &'static str
[src]
impl Serialize for AppliedClusterResourceQuota
[src]
impl StructuralPartialEq for AppliedClusterResourceQuota
[src]
Auto Trait Implementations
impl RefUnwindSafe for AppliedClusterResourceQuota
impl Send for AppliedClusterResourceQuota
impl Sync for AppliedClusterResourceQuota
impl Unpin for AppliedClusterResourceQuota
impl UnwindSafe for AppliedClusterResourceQuota
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> 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>,