pub struct ClusterTablespacesStorage {
pub pvc_template: Option<ClusterTablespacesStoragePvcTemplate>,
pub resize_in_use_volumes: Option<bool>,
pub size: Option<String>,
pub storage_class: Option<String>,
}Expand description
The storage configuration for the tablespace
Fields§
§pvc_template: Option<ClusterTablespacesStoragePvcTemplate>Template to be used to generate the Persistent Volume Claim
resize_in_use_volumes: Option<bool>Resize existent PVCs, defaults to true
size: Option<String>Size of the storage. Required if not already specified in the PVC template. Changes to this field are automatically reapplied to the created PVCs. Size cannot be decreased.
storage_class: Option<String>StorageClass to use for PVCs. Applied after evaluating the PVC template, if available. If not specified, the generated PVCs will use the default storage class
Trait Implementations§
source§impl Clone for ClusterTablespacesStorage
impl Clone for ClusterTablespacesStorage
source§fn clone(&self) -> ClusterTablespacesStorage
fn clone(&self) -> ClusterTablespacesStorage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ClusterTablespacesStorage
impl Debug for ClusterTablespacesStorage
source§impl Default for ClusterTablespacesStorage
impl Default for ClusterTablespacesStorage
source§fn default() -> ClusterTablespacesStorage
fn default() -> ClusterTablespacesStorage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterTablespacesStorage
impl<'de> Deserialize<'de> for ClusterTablespacesStorage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for ClusterTablespacesStorage
impl JsonSchema for ClusterTablespacesStorage
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ClusterTablespacesStorage
impl RefUnwindSafe for ClusterTablespacesStorage
impl Send for ClusterTablespacesStorage
impl Sync for ClusterTablespacesStorage
impl Unpin for ClusterTablespacesStorage
impl UnwindSafe for ClusterTablespacesStorage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more