Struct k8s_openapi::v1_8::api::core::v1::LimitRange[][src]

pub struct LimitRange {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<LimitRangeSpec>,
}

LimitRange sets resource usage limits for each kind of resource in a 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 limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

Methods

impl LimitRange
[src]

create a LimitRange

Use CreateCoreV1NamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

delete collection of LimitRange

Use DeleteCoreV1CollectionNamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

delete a LimitRange

Use DeleteCoreV1NamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

list or watch objects of kind LimitRange

Use ListCoreV1LimitRangeForAllNamespacesResponse to parse the HTTP response.

impl LimitRange
[src]

list or watch objects of kind LimitRange

Use ListCoreV1NamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

partially update the specified LimitRange

Use PatchCoreV1NamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

read the specified LimitRange

Use ReadCoreV1NamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

replace the specified LimitRange

Use ReplaceCoreV1NamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

watch individual changes to a list of LimitRange

Use WatchCoreV1LimitRangeListForAllNamespacesResponse to parse the HTTP response.

impl LimitRange
[src]

watch changes to an object of kind LimitRange

Use WatchCoreV1NamespacedLimitRangeResponse to parse the HTTP response.

impl LimitRange
[src]

watch individual changes to a list of LimitRange

Use WatchCoreV1NamespacedLimitRangeListResponse to parse the HTTP response.

Trait Implementations

impl Clone for LimitRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LimitRange
[src]

Formats the value using the given formatter. Read more

impl Default for LimitRange
[src]

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

impl PartialEq for LimitRange
[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 LimitRange
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for LimitRange
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for LimitRange

impl Sync for LimitRange