pub struct ClusterBootstrapInitdbPostInitSqlRefs {
pub config_map_refs: Option<Vec<ClusterBootstrapInitdbPostInitSqlRefsConfigMapRefs>>,
pub secret_refs: Option<Vec<ClusterBootstrapInitdbPostInitSqlRefsSecretRefs>>,
}Expand description
List of references to ConfigMaps or Secrets containing SQL files
to be executed as a superuser in the postgres database right after
the cluster has been created. The references are processed in a specific order:
first, all Secrets are processed, followed by all ConfigMaps.
Within each group, the processing order follows the sequence specified
in their respective arrays.
(by default empty)
Fields§
§config_map_refs: Option<Vec<ClusterBootstrapInitdbPostInitSqlRefsConfigMapRefs>>ConfigMapRefs holds a list of references to ConfigMaps
secret_refs: Option<Vec<ClusterBootstrapInitdbPostInitSqlRefsSecretRefs>>SecretRefs holds a list of references to Secrets
Trait Implementations§
Source§impl Clone for ClusterBootstrapInitdbPostInitSqlRefs
impl Clone for ClusterBootstrapInitdbPostInitSqlRefs
Source§fn clone(&self) -> ClusterBootstrapInitdbPostInitSqlRefs
fn clone(&self) -> ClusterBootstrapInitdbPostInitSqlRefs
Returns a duplicate 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 Default for ClusterBootstrapInitdbPostInitSqlRefs
impl Default for ClusterBootstrapInitdbPostInitSqlRefs
Source§fn default() -> ClusterBootstrapInitdbPostInitSqlRefs
fn default() -> ClusterBootstrapInitdbPostInitSqlRefs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterBootstrapInitdbPostInitSqlRefs
impl<'de> Deserialize<'de> for ClusterBootstrapInitdbPostInitSqlRefs
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 PartialEq for ClusterBootstrapInitdbPostInitSqlRefs
impl PartialEq for ClusterBootstrapInitdbPostInitSqlRefs
Source§fn eq(&self, other: &ClusterBootstrapInitdbPostInitSqlRefs) -> bool
fn eq(&self, other: &ClusterBootstrapInitdbPostInitSqlRefs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterBootstrapInitdbPostInitSqlRefs
Auto Trait Implementations§
impl Freeze for ClusterBootstrapInitdbPostInitSqlRefs
impl RefUnwindSafe for ClusterBootstrapInitdbPostInitSqlRefs
impl Send for ClusterBootstrapInitdbPostInitSqlRefs
impl Sync for ClusterBootstrapInitdbPostInitSqlRefs
impl Unpin for ClusterBootstrapInitdbPostInitSqlRefs
impl UnwindSafe for ClusterBootstrapInitdbPostInitSqlRefs
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