pub struct PgDatastoreCreationConnection { /* private fields */ }Expand description
Explicit PostgreSQL authority used for one configured creation attempt.
Implementations§
Source§impl PgDatastoreCreationConnection
impl PgDatastoreCreationConnection
pub fn new( host: impl Into<String>, port: u16, bootstrap_database: impl Into<String>, administrator_username: impl Into<String>, root_certificates: Vec<String>, ) -> Self
Sourcepub fn dataset_maintenance(
&self,
database: &str,
credential: &SecretMaterial,
) -> Result<PgDatasetMaintenance, PgMetaError>
pub fn dataset_maintenance( &self, database: &str, credential: &SecretMaterial, ) -> Result<PgDatasetMaintenance, PgMetaError>
Opens the configured maintenance credential behind a cleanup-only API.
Source§impl PgDatastoreCreationConnection
impl PgDatastoreCreationConnection
Sourcepub fn upgrade_governance(
&self,
database: &str,
owner: &str,
credential: &SecretMaterial,
appointment: &GovernanceAppointment,
) -> Result<GovernanceMaintenance, PgMetaError>
pub fn upgrade_governance( &self, database: &str, owner: &str, credential: &SecretMaterial, appointment: &GovernanceAppointment, ) -> Result<GovernanceMaintenance, PgMetaError>
Preserving operator upgrade with the original metadata owner. Only an already resolved administrator credential can create this capability.
Trait Implementations§
Source§impl Clone for PgDatastoreCreationConnection
impl Clone for PgDatastoreCreationConnection
Source§fn clone(&self) -> PgDatastoreCreationConnection
fn clone(&self) -> PgDatastoreCreationConnection
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 moreAuto Trait Implementations§
impl Freeze for PgDatastoreCreationConnection
impl RefUnwindSafe for PgDatastoreCreationConnection
impl Send for PgDatastoreCreationConnection
impl Sync for PgDatastoreCreationConnection
impl Unpin for PgDatastoreCreationConnection
impl UnsafeUnpin for PgDatastoreCreationConnection
impl UnwindSafe for PgDatastoreCreationConnection
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