Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::ResourceQuota[][src]

pub struct ResourceQuota {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<ResourceQuotaSpec>,
    pub status: Option<ResourceQuotaStatus>,
}

ResourceQuota sets aggregate quota restrictions enforced per namespace

Fields

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

Methods

impl ResourceQuota
[src]

create a ResourceQuota

Use CreateCoreV1NamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

delete collection of ResourceQuota

Use DeleteCoreV1CollectionNamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

delete a ResourceQuota

Use DeleteCoreV1NamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

list or watch objects of kind ResourceQuota

Use ListCoreV1NamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

list or watch objects of kind ResourceQuota

Use ListCoreV1ResourceQuotaForAllNamespacesResponse to parse the HTTP response.

impl ResourceQuota
[src]

partially update the specified ResourceQuota

Use PatchCoreV1NamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

partially update status of the specified ResourceQuota

Use PatchCoreV1NamespacedResourceQuotaStatusResponse to parse the HTTP response.

impl ResourceQuota
[src]

read the specified ResourceQuota

Use ReadCoreV1NamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

read status of the specified ResourceQuota

Use ReadCoreV1NamespacedResourceQuotaStatusResponse to parse the HTTP response.

impl ResourceQuota
[src]

replace the specified ResourceQuota

Use ReplaceCoreV1NamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

replace status of the specified ResourceQuota

Use ReplaceCoreV1NamespacedResourceQuotaStatusResponse to parse the HTTP response.

impl ResourceQuota
[src]

watch changes to an object of kind ResourceQuota

Use WatchCoreV1NamespacedResourceQuotaResponse to parse the HTTP response.

impl ResourceQuota
[src]

watch individual changes to a list of ResourceQuota

Use WatchCoreV1NamespacedResourceQuotaListResponse to parse the HTTP response.

impl ResourceQuota
[src]

watch individual changes to a list of ResourceQuota

Use WatchCoreV1ResourceQuotaListForAllNamespacesResponse to parse the HTTP response.

Trait Implementations

impl Clone for ResourceQuota
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResourceQuota
[src]

Formats the value using the given formatter. Read more

impl Default for ResourceQuota
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ResourceQuota
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ResourceQuota
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations