Struct k8s_openapi::v1_7::kubernetes::pkg::api::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
api_version: Option<String>
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: Option<String>
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
metadata: Option<ObjectMeta>
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
spec: Option<LimitRangeSpec>
Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
Methods
impl LimitRange[src]
impl LimitRangepub fn create_core_v1_namespaced_limit_range(
namespace: &str,
body: &LimitRange,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn create_core_v1_namespaced_limit_range(
namespace: &str,
body: &LimitRange,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>create a LimitRange
Use CreateCoreV1NamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn delete_core_v1_collection_namespaced_limit_range(
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn delete_core_v1_collection_namespaced_limit_range(
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>delete collection of LimitRange
Use DeleteCoreV1CollectionNamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn delete_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn delete_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>delete a LimitRange
Use DeleteCoreV1NamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn list_core_v1_limit_range_for_all_namespaces(
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn list_core_v1_limit_range_for_all_namespaces(
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>list or watch objects of kind LimitRange
Use ListCoreV1LimitRangeForAllNamespacesResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn list_core_v1_namespaced_limit_range(
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn list_core_v1_namespaced_limit_range(
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>list or watch objects of kind LimitRange
Use ListCoreV1NamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn patch_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn patch_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>partially update the specified LimitRange
Use PatchCoreV1NamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn read_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn read_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>read the specified LimitRange
Use ReadCoreV1NamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn replace_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
body: &LimitRange,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn replace_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
body: &LimitRange,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>replace the specified LimitRange
Use ReplaceCoreV1NamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn watch_core_v1_limit_range_list_for_all_namespaces(
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn watch_core_v1_limit_range_list_for_all_namespaces(
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>watch individual changes to a list of LimitRange
Use WatchCoreV1LimitRangeListForAllNamespacesResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn watch_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn watch_core_v1_namespaced_limit_range(
name: &str,
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>watch changes to an object of kind LimitRange
Use WatchCoreV1NamespacedLimitRangeResponse to parse the HTTP response.
impl LimitRange[src]
impl LimitRangepub fn watch_core_v1_namespaced_limit_range_list(
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn watch_core_v1_namespaced_limit_range_list(
namespace: &str,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>watch individual changes to a list of LimitRange
Use WatchCoreV1NamespacedLimitRangeListResponse to parse the HTTP response.
Trait Implementations
impl Clone for LimitRange[src]
impl Clone for LimitRangefn clone(&self) -> LimitRange[src]
fn clone(&self) -> LimitRangeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for LimitRange[src]
impl Debug for LimitRangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for LimitRange[src]
impl Default for LimitRangefn default() -> LimitRange[src]
fn default() -> LimitRangeReturns the "default value" for a type. Read more
impl PartialEq for LimitRange[src]
impl PartialEq for LimitRangefn eq(&self, other: &LimitRange) -> bool[src]
fn eq(&self, other: &LimitRange) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &LimitRange) -> bool[src]
fn ne(&self, other: &LimitRange) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for LimitRange[src]
impl<'de> Deserialize<'de> for LimitRangefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for LimitRange[src]
impl Serialize for LimitRangeAuto Trait Implementations
impl Send for LimitRange
impl Send for LimitRangeimpl Sync for LimitRange
impl Sync for LimitRange