pub enum AtlasDatabaseUrl {
SecretKeyRef {
name: String,
key: String,
},
Inline(String),
}Expand description
How the generated AtlasSchema reaches its target database URL.
Variants§
SecretKeyRef
Reference a key in a Kubernetes Secret (spec.urlFrom.secretKeyRef).
The GitOps-friendly choice — no credentials in the manifest.
Inline(String)
Inline connection URL (spec.url). Convenient for dev; avoid committing
real credentials this way.
Trait Implementations§
Source§impl Clone for AtlasDatabaseUrl
impl Clone for AtlasDatabaseUrl
Source§fn clone(&self) -> AtlasDatabaseUrl
fn clone(&self) -> AtlasDatabaseUrl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AtlasDatabaseUrl
impl Debug for AtlasDatabaseUrl
impl Eq for AtlasDatabaseUrl
Source§impl PartialEq for AtlasDatabaseUrl
impl PartialEq for AtlasDatabaseUrl
Source§fn eq(&self, other: &AtlasDatabaseUrl) -> bool
fn eq(&self, other: &AtlasDatabaseUrl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AtlasDatabaseUrl
Auto Trait Implementations§
impl Freeze for AtlasDatabaseUrl
impl RefUnwindSafe for AtlasDatabaseUrl
impl Send for AtlasDatabaseUrl
impl Sync for AtlasDatabaseUrl
impl Unpin for AtlasDatabaseUrl
impl UnsafeUnpin for AtlasDatabaseUrl
impl UnwindSafe for AtlasDatabaseUrl
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