Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceSubresources [−][src]
pub struct CustomResourceSubresources {
pub scale: Option<CustomResourceSubresourceScale>,
pub status: Option<CustomResourceSubresourceStatus>,
}
Expand description
CustomResourceSubresources defines the status and scale subresources for CustomResources.
Fields
scale: Option<CustomResourceSubresourceScale>
scale indicates the custom resource should serve a /scale
subresource that returns an autoscaling/v1
Scale object.
status: Option<CustomResourceSubresourceStatus>
status indicates the custom resource should serve a /status
subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the status
stanza of the object. 2. requests to the custom resource /status
subresource ignore changes to anything other than the status
stanza of the object.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CustomResourceSubresources
impl Send for CustomResourceSubresources
impl Sync for CustomResourceSubresources
impl Unpin for CustomResourceSubresources
impl UnwindSafe for CustomResourceSubresources
Blanket Implementations
Mutably borrows from an owned value. Read more