pub struct ClusterExternalClusters {
pub barman_object_store: Option<ClusterExternalClustersBarmanObjectStore>,
pub connection_parameters: Option<BTreeMap<String, String>>,
pub name: String,
pub password: Option<ClusterExternalClustersPassword>,
pub ssl_cert: Option<ClusterExternalClustersSslCert>,
pub ssl_key: Option<ClusterExternalClustersSslKey>,
pub ssl_root_cert: Option<ClusterExternalClustersSslRootCert>,
}Expand description
ExternalCluster represents the connection parameters to an external cluster which is used in the other sections of the configuration
Fields§
§barman_object_store: Option<ClusterExternalClustersBarmanObjectStore>The configuration for the barman-cloud tool suite
connection_parameters: Option<BTreeMap<String, String>>The list of connection parameters, such as dbname, host, username, etc
name: StringThe server name, required
password: Option<ClusterExternalClustersPassword>The reference to the password to be used to connect to the server. If a password is provided, CloudNativePG creates a PostgreSQL passfile at /controller/external/NAME/pass (where “NAME” is the cluster’s name). This passfile is automatically referenced in the connection string when establishing a connection to the remote PostgreSQL server from the current PostgreSQL Cluster. This ensures secure and efficient password management for external clusters.
ssl_cert: Option<ClusterExternalClustersSslCert>The reference to an SSL certificate to be used to connect to this instance
ssl_key: Option<ClusterExternalClustersSslKey>The reference to an SSL private key to be used to connect to this instance
ssl_root_cert: Option<ClusterExternalClustersSslRootCert>The reference to an SSL CA public key to be used to connect to this instance
Trait Implementations§
Source§impl Clone for ClusterExternalClusters
impl Clone for ClusterExternalClusters
Source§fn clone(&self) -> ClusterExternalClusters
fn clone(&self) -> ClusterExternalClusters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClusterExternalClusters
impl Debug for ClusterExternalClusters
Source§impl Default for ClusterExternalClusters
impl Default for ClusterExternalClusters
Source§fn default() -> ClusterExternalClusters
fn default() -> ClusterExternalClusters
Source§impl<'de> Deserialize<'de> for ClusterExternalClusters
impl<'de> Deserialize<'de> for ClusterExternalClusters
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>,
Source§impl JsonSchema for ClusterExternalClusters
impl JsonSchema for ClusterExternalClusters
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ClusterExternalClusters
impl RefUnwindSafe for ClusterExternalClusters
impl Send for ClusterExternalClusters
impl Sync for ClusterExternalClusters
impl Unpin for ClusterExternalClusters
impl UnwindSafe for ClusterExternalClusters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more